]>
git.pld-linux.org Git - projects/geninitrd.git/log
Arkadiusz Miśkiewicz [Sat, 19 Feb 2011 07:54:20 +0000 (07:54 +0000)]
Report RCSID for loaded modules, too.
svn-id: @12161
Arkadiusz Miśkiewicz [Thu, 17 Feb 2011 22:16:30 +0000 (22:16 +0000)]
root dev finding: fallback to calculating based on initrd /dev file
svn-id: @12159
Arkadiusz Miśkiewicz [Thu, 17 Feb 2011 21:41:31 +0000 (21:41 +0000)]
debugshell after failing to chroot.
svn-id: @12158
Arkadiusz Miśkiewicz [Thu, 17 Feb 2011 21:37:19 +0000 (21:37 +0000)]
Try to activate luks only if not yet active (because cryptsetup is run twice).
svn-id: @12157
Elan Ruusamäe [Sun, 13 Feb 2011 14:09:09 +0000 (14:09 +0000)]
setup TZ in export
svn-id: @12147
Elan Ruusamäe [Fri, 11 Feb 2011 12:30:58 +0000 (12:30 +0000)]
- update test
svn-id: @12144
Elan Ruusamäe [Fri, 11 Feb 2011 12:30:27 +0000 (12:30 +0000)]
sort modules that ones who depend on libata are first
svn-id: @12143
Elan Ruusamäe [Fri, 11 Feb 2011 12:07:51 +0000 (12:07 +0000)]
there is no bitwise matching only DEVICE_ANY
arekm looked up it in sources, so revert the bitwise op
svn-id: @12142
Elan Ruusamäe [Fri, 11 Feb 2011 08:24:43 +0000 (08:24 +0000)]
update test
svn-id: @12141
Elan Ruusamäe [Fri, 11 Feb 2011 08:22:25 +0000 (08:22 +0000)]
- compare device bitwise. LP#715930
svn-id: @12140
Elan Ruusamäe [Fri, 11 Feb 2011 08:19:31 +0000 (08:19 +0000)]
switch to parsing in shell instead of awk
svn-id: @12139
Elan Ruusamäe [Thu, 10 Feb 2011 11:32:57 +0000 (11:32 +0000)]
add setup so detection results could be later tweaked for testing
svn-id: @12132
Elan Ruusamäe [Thu, 10 Feb 2011 11:30:35 +0000 (11:30 +0000)]
hack up test using actual functions
svn-id: @12131
Elan Ruusamäe [Wed, 9 Feb 2011 19:19:27 +0000 (19:19 +0000)]
partial testcase
svn-id: @12127
Arkadiusz Miśkiewicz [Sat, 5 Feb 2011 11:51:37 +0000 (11:51 +0000)]
Revert, that was wrong.
svn-id: @12116
Arkadiusz Miśkiewicz [Sat, 5 Feb 2011 11:22:45 +0000 (11:22 +0000)]
ccis needs sd_mod (areq).
svn-id: @12115
Arkadiusz Miśkiewicz [Thu, 3 Feb 2011 18:45:09 +0000 (18:45 +0000)]
Mount rootfs from initramfs with rootfsflags options.
svn-id: @12114
Elan Ruusamäe [Thu, 3 Feb 2011 11:16:29 +0000 (11:16 +0000)]
Simplify main code by moving state checks to modules itself
svn-id: @12113
Elan Ruusamäe [Thu, 3 Feb 2011 11:06:17 +0000 (11:06 +0000)]
Use double quotes (more readable in this context)
svn-id: @12112
Artur Frysiak [Thu, 3 Feb 2011 10:41:47 +0000 (10:41 +0000)]
Make addons executable
svn-id: @12111
Artur Frysiak [Thu, 3 Feb 2011 10:41:42 +0000 (10:41 +0000)]
Try to setup encryption after soft-RAID and LVM setup
svn-id: @12110
Artur Frysiak [Thu, 3 Feb 2011 10:41:37 +0000 (10:41 +0000)]
Don't drop to shell if LVM is used but root device isn't LV
svn-id: @12109
Artur Frysiak [Thu, 3 Feb 2011 10:41:32 +0000 (10:41 +0000)]
Check source device before cryptsetup run
svn-id: @12108
Artur Frysiak [Thu, 3 Feb 2011 10:41:28 +0000 (10:41 +0000)]
Simplify dm_name()
svn-id: @12107
Artur Frysiak [Thu, 3 Feb 2011 10:41:23 +0000 (10:41 +0000)]
Use DM subsystem name not UUID for LVM/crypt detection
svn-id: @12106
Arkadiusz Miśkiewicz [Thu, 3 Feb 2011 08:12:02 +0000 (08:12 +0000)]
We have /dev/urandom, so also store /dev/random (luks can use it for example).
svn-id: @12104
Elan Ruusamäe [Wed, 2 Feb 2011 17:15:10 +0000 (17:15 +0000)]
rename dm_* helpers to avoid confision what they do and make them more generic
svn-id: @12103
Artur Frysiak [Wed, 2 Feb 2011 16:23:35 +0000 (16:23 +0000)]
Simplify dm_longname()
svn-id: @12102
Artur Frysiak [Wed, 2 Feb 2011 16:23:30 +0000 (16:23 +0000)]
Allow rootfs on crypted device
svn-id: @12101
Arkadiusz Miśkiewicz [Thu, 27 Jan 2011 20:55:52 +0000 (20:55 +0000)]
By default rootdev_new is the same as rootdev.
svn-id: @12095
Elan Ruusamäe [Thu, 27 Jan 2011 20:51:59 +0000 (20:51 +0000)]
- multipath install lib64 safe (why it was just lib anyway?)
svn-id: @12094
Elan Ruusamäe [Thu, 27 Jan 2011 20:48:13 +0000 (20:48 +0000)]
Consistent timestamp in release tarball files. in fact, package all files to tarball
svn-id: @12093
Elan Ruusamäe [Thu, 27 Jan 2011 20:30:44 +0000 (20:30 +0000)]
- refentry2man dep
svn-id: @12092
Elan Ruusamäe [Thu, 27 Jan 2011 20:26:53 +0000 (20:26 +0000)]
- 10000.31 second experimental (can extract all compressed kernels for CONFIG)
svn-id: @12091
Arkadiusz Miśkiewicz [Tue, 25 Jan 2011 22:02:15 +0000 (22:02 +0000)]
Try to find main device in case when rootfs in on a md partition (instead of whole md device).
svn-id: @12087
Elan Ruusamäe [Sun, 23 Jan 2011 22:36:56 +0000 (22:36 +0000)]
don't leak parentDir variable
svn-id: @12081
Elan Ruusamäe [Sun, 23 Jan 2011 22:23:36 +0000 (22:23 +0000)]
- use mktemp
svn-id: @12080
Elan Ruusamäe [Sun, 23 Jan 2011 19:49:01 +0000 (19:49 +0000)]
include extract-ikconfig
svn-id: @12079
Elan Ruusamäe [Sun, 23 Jan 2011 19:47:17 +0000 (19:47 +0000)]
use copy of extract-ikconfig from kernel sources what can process any file
containing it (vmlinux or kernel mod with or without compressions)
svn-id: @12078
Elan Ruusamäe [Sun, 23 Jan 2011 19:42:55 +0000 (19:42 +0000)]
recognize xz compression (patch by arekm)
svn-id: @12076
Elan Ruusamäe [Sun, 23 Jan 2011 19:41:13 +0000 (19:41 +0000)]
import extract-ikconfig from kernel sources
there's no point to contain stripped version here, upstream one works ok with
vmlinux, vmlinuz, bzImage, configs.ko, configs.ko.gz
imported
532cf2907ac3b9c2345d76251764f4f4e602c921
svn-id: @12074
sparky [Sun, 23 Jan 2011 16:45:09 +0000 (16:45 +0000)]
Fixed one more typo.
svn-id: @12073
sparky [Sun, 23 Jan 2011 16:43:13 +0000 (16:43 +0000)]
Renamed rootdev_alternate and rootdev_alternative to rootdev_alias to prevent
further typos.
svn-id: @12072
Arkadiusz Miśkiewicz [Sun, 23 Jan 2011 15:07:24 +0000 (15:07 +0000)]
Handle /dev/mdXpY as root device.
svn-id: @12071
Elan Ruusamäe [Fri, 14 Jan 2011 11:39:03 +0000 (11:39 +0000)]
- as uknown what to do for multiple module match at least load them for now
svn-id: @12055
Elan Ruusamäe [Fri, 14 Jan 2011 11:37:47 +0000 (11:37 +0000)]
- pcimap not used when lspci invoked with -n
svn-id: @12054
Elan Ruusamäe [Fri, 14 Jan 2011 11:35:32 +0000 (11:35 +0000)]
- more generic and more exact finding code
svn-id: @12053
Arkadiusz Miśkiewicz [Fri, 14 Jan 2011 09:34:10 +0000 (09:34 +0000)]
Use fastest compressor first.
svn-id: @12052
Arkadiusz Miśkiewicz [Fri, 14 Jan 2011 09:20:57 +0000 (09:20 +0000)]
Add COMPRESS=none/no support (uncompressed initrd).
svn-id: @12051
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:34:29 +0000 (20:34 +0000)]
Mention xz and lzma for initrd compresion.
svn-id: @12050
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:33:47 +0000 (20:33 +0000)]
Allow tuxonice snapshot device be device mapper device(LUKS, LVM, dmraid). Patch by Krzysztof Krakowiak.
svn-id: @12049
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:28:48 +0000 (20:28 +0000)]
10000.30 (experimental due to SATA autodetection)
svn-id: @12047
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:26:07 +0000 (20:26 +0000)]
Include sata mod.
svn-id: @12046
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:21:07 +0000 (20:21 +0000)]
extract-ikconfig() should be able to read from vmlinuz file, too.
svn-id: @12045
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:20:40 +0000 (20:20 +0000)]
Avoid error when no configs module.
svn-id: @12044
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:15:51 +0000 (20:15 +0000)]
Don't leave temporary files if kofile ends up being empty.
svn-id: @12043
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:07:24 +0000 (20:07 +0000)]
Ignore lspci errors.
svn-id: @12042
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:01:30 +0000 (20:01 +0000)]
LZO initrd compression support (fastest).
svn-id: @12041
Elan Ruusamäe [Tue, 21 Dec 2010 19:02:50 +0000 (19:02 +0000)]
- if image compress failed (for whatever reason), retry with gzip
svn-id: @12018
Elan Ruusamäe [Tue, 21 Dec 2010 18:53:15 +0000 (18:53 +0000)]
- catch error from image compress
svn-id: @12017
Elan Ruusamäe [Sun, 19 Dec 2010 10:49:09 +0000 (10:49 +0000)]
make romfs comment shorter so that "file" would display most significant info
svn-id: @11995
Arkadiusz Miśkiewicz [Thu, 2 Dec 2010 14:14:24 +0000 (14:14 +0000)]
resume todo
svn-id: @11921
Arkadiusz Miśkiewicz [Mon, 22 Nov 2010 11:33:26 +0000 (11:33 +0000)]
Allow more than 10 md devices.
svn-id: @11912
Arkadiusz Miśkiewicz [Fri, 19 Nov 2010 23:41:43 +0000 (23:41 +0000)]
Normalize both device names. root and current array, too.
svn-id: @11911
sparky [Fri, 22 Oct 2010 14:28:50 +0000 (14:28 +0000)]
- test -n won't work without ""
svn-id: @11880
shadzik [Fri, 22 Oct 2010 13:41:53 +0000 (13:41 +0000)]
- 15:36 < arekm> bs: ! -z == -n
svn-id: @11879
shadzik [Fri, 22 Oct 2010 13:19:20 +0000 (13:19 +0000)]
- if no sata controller found do nothing
svn-id: @11878
shadzik [Wed, 20 Oct 2010 21:36:58 +0000 (21:36 +0000)]
- enable sata mod
svn-id: @11873
Elan Ruusamäe [Wed, 20 Oct 2010 21:20:19 +0000 (21:20 +0000)]
- test possible lspci modes
svn-id: @11872
shadzik [Wed, 20 Oct 2010 21:12:37 +0000 (21:12 +0000)]
- oh yeah, tabs not spaces because it's suuuuuuuuuuch a difference and matters thaaaaaat much!!!
svn-id: @11871
shadzik [Wed, 20 Oct 2010 21:05:15 +0000 (21:05 +0000)]
- because glen asked soooooooo politely
svn-id: @11870
Elan Ruusamäe [Wed, 20 Oct 2010 21:05:00 +0000 (21:05 +0000)]
- use shell constructs
svn-id: @11869
Elan Ruusamäe [Wed, 20 Oct 2010 21:01:16 +0000 (21:01 +0000)]
- lowercase found module
svn-id: @11868
shadzik [Wed, 20 Oct 2010 20:56:41 +0000 (20:56 +0000)]
- missing local
svn-id: @11867
shadzik [Wed, 20 Oct 2010 20:53:38 +0000 (20:53 +0000)]
- show examples for all available kernels
svn-id: @11866
Elan Ruusamäe [Wed, 20 Oct 2010 20:53:25 +0000 (20:53 +0000)]
- target compression detection is done
svn-id: @11865
shadzik [Wed, 20 Oct 2010 20:46:48 +0000 (20:46 +0000)]
- lspci -p
svn-id: @11864
Elan Ruusamäe [Wed, 20 Oct 2010 20:42:46 +0000 (20:42 +0000)]
- lame test for sysfs scanning for 0x0101 devices
svn-id: @11863
shadzik [Wed, 20 Oct 2010 20:42:12 +0000 (20:42 +0000)]
- use local variables
- get rid of sed/uniq kinda sucks anyway
svn-id: @11862
Elan Ruusamäe [Wed, 20 Oct 2010 20:36:41 +0000 (20:36 +0000)]
- setup common test base
svn-id: @11861
shadzik [Wed, 20 Oct 2010 17:07:07 +0000 (17:07 +0000)]
- again, rename
- use only 0106 class
svn-id: @11860
shadzik [Wed, 20 Oct 2010 17:03:39 +0000 (17:03 +0000)]
- check for lspci
svn-id: @11859
shadzik [Wed, 20 Oct 2010 16:59:52 +0000 (16:59 +0000)]
- rename to mod-xata.sh, but probably this shiuld be mod-sata, as i tend to leave just the 0106 class left
svn-id: @11858
shadzik [Wed, 20 Oct 2010 16:55:16 +0000 (16:55 +0000)]
- use find_module
svn-id: @11857
shadzik [Wed, 20 Oct 2010 16:53:38 +0000 (16:53 +0000)]
- ignore scsi, mod-scsi.sh is for that
- use $kernel variable instead of uname
svn-id: @11856
shadzik [Wed, 20 Oct 2010 16:50:28 +0000 (16:50 +0000)]
- this should be done in an other way, arekm says
svn-id: @11855
shadzik [Wed, 20 Oct 2010 15:03:10 +0000 (15:03 +0000)]
- change shebang and add comment like in other modules
svn-id: @11854
shadzik [Wed, 20 Oct 2010 14:56:55 +0000 (14:56 +0000)]
- when PREMODS are not set, try to autodetect xata/scsi modules
svn-id: @11853
Elan Ruusamäe [Sun, 1 Aug 2010 15:24:12 +0000 (15:24 +0000)]
- umount /proc as last
svn-id: @11733
Elan Ruusamäe [Wed, 7 Jul 2010 07:41:04 +0000 (07:41 +0000)]
- sysfs utilize
svn-id: @11630
Arkadiusz Miśkiewicz [Tue, 8 Jun 2010 09:18:10 +0000 (09:18 +0000)]
Require both /lib64 and /usr/lib64 to consider system be lib64 using one.
svn-id: @11553
Elan Ruusamäe [Fri, 21 May 2010 14:23:12 +0000 (14:23 +0000)]
- extract CONFIG_BLK_DEV_RAM_SIZE from configs kernel module if possible
- based on extract-ikconfig from linux/scripts/extract-ikconfig
svn-id: @11482
Arkadiusz Miśkiewicz [Tue, 20 Apr 2010 05:29:11 +0000 (05:29 +0000)]
Don't require /sbin/mdadm. Use initrd mdadm when needed.
svn-id: @11337
Elan Ruusamäe [Tue, 9 Mar 2010 09:58:57 +0000 (09:58 +0000)]
- avoid extra checks as cycles are not ran
svn-id: @11229
Arkadiusz Miśkiewicz [Mon, 8 Mar 2010 11:00:08 +0000 (11:00 +0000)]
scan=sync for scsi_mod on >= 2.6.30 (from Ti)
svn-id: @11228
Jan Rękorajski [Thu, 21 Jan 2010 15:55:54 +0000 (15:55 +0000)]
- 10000.20 release
svn-id: @11117
Jan Rękorajski [Thu, 21 Jan 2010 13:45:16 +0000 (13:45 +0000)]
- initrd-busybox changed to just busybox
svn-id: @11116
Elan Ruusamäe [Wed, 20 Jan 2010 16:37:03 +0000 (16:37 +0000)]
- if "cryptsetup status" returns no device, assume there is no cryptsetup
svn-id: @11115
Elan Ruusamäe [Tue, 12 Jan 2010 11:13:09 +0000 (11:13 +0000)]
- fix manual page generation
svn-id: @11108
Elan Ruusamäe [Tue, 12 Jan 2010 11:11:05 +0000 (11:11 +0000)]
- 10000.19 release
svn-id: @11107
This page took 0.157174 seconds and 4 git commands to generate.