]> git.pld-linux.org Git - projects/geninitrd.git/log
projects/geninitrd.git
13 years agoReport RCSID for loaded modules, too.
Arkadiusz Miśkiewicz [Sat, 19 Feb 2011 07:54:20 +0000 (07:54 +0000)]
Report RCSID for loaded modules, too.

svn-id: @12161

13 years agoroot dev finding: fallback to calculating based on initrd /dev file
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

13 years agodebugshell after failing to chroot.
Arkadiusz Miśkiewicz [Thu, 17 Feb 2011 21:41:31 +0000 (21:41 +0000)]
debugshell after failing to chroot.

svn-id: @12158

13 years agoTry to activate luks only if not yet active (because cryptsetup is run twice).
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

13 years agosetup TZ in export
Elan Ruusamäe [Sun, 13 Feb 2011 14:09:09 +0000 (14:09 +0000)]
setup TZ in export

svn-id: @12147

13 years ago- update test
Elan Ruusamäe [Fri, 11 Feb 2011 12:30:58 +0000 (12:30 +0000)]
- update test

svn-id: @12144

13 years agosort modules that ones who depend on libata are first
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

13 years agothere is no bitwise matching only DEVICE_ANY
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

13 years agoupdate test
Elan Ruusamäe [Fri, 11 Feb 2011 08:24:43 +0000 (08:24 +0000)]
update test

svn-id: @12141

13 years ago- compare device bitwise. LP#715930
Elan Ruusamäe [Fri, 11 Feb 2011 08:22:25 +0000 (08:22 +0000)]
- compare device bitwise. LP#715930

svn-id: @12140

13 years agoswitch to parsing in shell instead of awk
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

13 years agoadd setup so detection results could be later tweaked for testing
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

13 years agohack up test using actual functions
Elan Ruusamäe [Thu, 10 Feb 2011 11:30:35 +0000 (11:30 +0000)]
hack up test using actual functions

svn-id: @12131

13 years agopartial testcase
Elan Ruusamäe [Wed, 9 Feb 2011 19:19:27 +0000 (19:19 +0000)]
partial testcase

svn-id: @12127

13 years agoRevert, that was wrong.
Arkadiusz Miśkiewicz [Sat, 5 Feb 2011 11:51:37 +0000 (11:51 +0000)]
Revert, that was wrong.

svn-id: @12116

13 years agoccis needs sd_mod (areq).
Arkadiusz Miśkiewicz [Sat, 5 Feb 2011 11:22:45 +0000 (11:22 +0000)]
ccis needs sd_mod (areq).

svn-id: @12115

13 years agoMount rootfs from initramfs with rootfsflags options.
Arkadiusz Miśkiewicz [Thu, 3 Feb 2011 18:45:09 +0000 (18:45 +0000)]
Mount rootfs from initramfs with rootfsflags options.

svn-id: @12114

13 years agoSimplify main code by moving state checks to modules itself
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

13 years agoUse double quotes (more readable in this context)
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

13 years agoMake addons executable
Artur Frysiak [Thu, 3 Feb 2011 10:41:47 +0000 (10:41 +0000)]
Make addons executable

svn-id: @12111

13 years agoTry to setup encryption after soft-RAID and LVM setup
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

13 years agoDon't drop to shell if LVM is used but root device isn't LV
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

13 years agoCheck source device before cryptsetup run
Artur Frysiak [Thu, 3 Feb 2011 10:41:32 +0000 (10:41 +0000)]
Check source device before cryptsetup run

svn-id: @12108

13 years agoSimplify dm_name()
Artur Frysiak [Thu, 3 Feb 2011 10:41:28 +0000 (10:41 +0000)]
Simplify dm_name()

svn-id: @12107

13 years agoUse DM subsystem name not UUID for LVM/crypt detection
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

13 years agoWe have /dev/urandom, so also store /dev/random (luks can use it for example).
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

13 years agorename dm_* helpers to avoid confision what they do and make them more generic
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

13 years agoSimplify dm_longname()
Artur Frysiak [Wed, 2 Feb 2011 16:23:35 +0000 (16:23 +0000)]
Simplify dm_longname()

svn-id: @12102

13 years agoAllow rootfs on crypted device
Artur Frysiak [Wed, 2 Feb 2011 16:23:30 +0000 (16:23 +0000)]
Allow rootfs on crypted device

svn-id: @12101

13 years agoBy default rootdev_new is the same as rootdev.
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

13 years ago- multipath install lib64 safe (why it was just lib anyway?)
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

13 years agoConsistent timestamp in release tarball files. in fact, package all files to tarball
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

13 years ago- refentry2man dep
Elan Ruusamäe [Thu, 27 Jan 2011 20:30:44 +0000 (20:30 +0000)]
- refentry2man dep

svn-id: @12092

13 years ago- 10000.31 second experimental (can extract all compressed kernels for CONFIG)
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

13 years agoTry to find main device in case when rootfs in on a md partition (instead of whole...
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

13 years agodon't leak parentDir variable
Elan Ruusamäe [Sun, 23 Jan 2011 22:36:56 +0000 (22:36 +0000)]
don't leak parentDir variable

svn-id: @12081

13 years ago- use mktemp
Elan Ruusamäe [Sun, 23 Jan 2011 22:23:36 +0000 (22:23 +0000)]
- use mktemp

svn-id: @12080

13 years agoinclude extract-ikconfig
Elan Ruusamäe [Sun, 23 Jan 2011 19:49:01 +0000 (19:49 +0000)]
include extract-ikconfig

svn-id: @12079

13 years agouse copy of extract-ikconfig from kernel sources what can process any file
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

13 years agorecognize xz compression (patch by arekm)
Elan Ruusamäe [Sun, 23 Jan 2011 19:42:55 +0000 (19:42 +0000)]
recognize xz compression (patch by arekm)

svn-id: @12076

13 years agoimport extract-ikconfig from kernel sources
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

13 years agoFixed one more typo.
sparky [Sun, 23 Jan 2011 16:45:09 +0000 (16:45 +0000)]
Fixed one more typo.

svn-id: @12073

13 years agoRenamed rootdev_alternate and rootdev_alternative to rootdev_alias to prevent
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

13 years agoHandle /dev/mdXpY as root device.
Arkadiusz Miśkiewicz [Sun, 23 Jan 2011 15:07:24 +0000 (15:07 +0000)]
Handle /dev/mdXpY as root device.

svn-id: @12071

13 years ago- as uknown what to do for multiple module match at least load them for now
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

13 years ago- pcimap not used when lspci invoked with -n
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

13 years ago- more generic and more exact finding code
Elan Ruusamäe [Fri, 14 Jan 2011 11:35:32 +0000 (11:35 +0000)]
- more generic and more exact finding code

svn-id: @12053

13 years agoUse fastest compressor first.
Arkadiusz Miśkiewicz [Fri, 14 Jan 2011 09:34:10 +0000 (09:34 +0000)]
Use fastest compressor first.

svn-id: @12052

13 years agoAdd COMPRESS=none/no support (uncompressed initrd).
Arkadiusz Miśkiewicz [Fri, 14 Jan 2011 09:20:57 +0000 (09:20 +0000)]
Add COMPRESS=none/no support (uncompressed initrd).

svn-id: @12051

13 years agoMention xz and lzma for initrd compresion.
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:34:29 +0000 (20:34 +0000)]
Mention xz and lzma for initrd compresion.

svn-id: @12050

13 years agoAllow tuxonice snapshot device be device mapper device(LUKS, LVM, dmraid). Patch...
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

13 years ago10000.30 (experimental due to SATA autodetection) 10000.30
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:28:48 +0000 (20:28 +0000)]
10000.30 (experimental due to SATA autodetection)

svn-id: @12047

13 years agoInclude sata mod.
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:26:07 +0000 (20:26 +0000)]
Include sata mod.

svn-id: @12046

13 years ago extract-ikconfig() should be able to read from vmlinuz file, too.
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

13 years agoAvoid error when no configs module.
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:20:40 +0000 (20:20 +0000)]
Avoid error when no configs module.

svn-id: @12044

13 years agoDon't leave temporary files if kofile ends up being empty.
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

13 years agoIgnore lspci errors.
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:07:24 +0000 (20:07 +0000)]
Ignore lspci errors.

svn-id: @12042

13 years agoLZO initrd compression support (fastest).
Arkadiusz Miśkiewicz [Thu, 13 Jan 2011 20:01:30 +0000 (20:01 +0000)]
LZO initrd compression support (fastest).

svn-id: @12041

13 years ago- if image compress failed (for whatever reason), retry with gzip
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

13 years ago- catch error from image compress
Elan Ruusamäe [Tue, 21 Dec 2010 18:53:15 +0000 (18:53 +0000)]
- catch error from image compress

svn-id: @12017

13 years agomake romfs comment shorter so that "file" would display most significant info
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

13 years agoresume todo
Arkadiusz Miśkiewicz [Thu, 2 Dec 2010 14:14:24 +0000 (14:14 +0000)]
resume todo

svn-id: @11921

13 years agoAllow more than 10 md devices.
Arkadiusz Miśkiewicz [Mon, 22 Nov 2010 11:33:26 +0000 (11:33 +0000)]
Allow more than 10 md devices.

svn-id: @11912

13 years agoNormalize both device names. root and current array, too.
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

13 years ago- test -n won't work without ""
sparky [Fri, 22 Oct 2010 14:28:50 +0000 (14:28 +0000)]
- test -n won't work without ""

svn-id: @11880

13 years ago- 15:36 < arekm> bs: ! -z == -n
shadzik [Fri, 22 Oct 2010 13:41:53 +0000 (13:41 +0000)]
- 15:36 < arekm> bs: ! -z == -n

svn-id: @11879

13 years ago- if no sata controller found do nothing
shadzik [Fri, 22 Oct 2010 13:19:20 +0000 (13:19 +0000)]
- if no sata controller found do nothing

svn-id: @11878

13 years ago- enable sata mod
shadzik [Wed, 20 Oct 2010 21:36:58 +0000 (21:36 +0000)]
- enable sata mod

svn-id: @11873

13 years ago- test possible lspci modes
Elan Ruusamäe [Wed, 20 Oct 2010 21:20:19 +0000 (21:20 +0000)]
- test possible lspci modes

svn-id: @11872

13 years ago- oh yeah, tabs not spaces because it's suuuuuuuuuuch a difference and matters thaaaa...
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

13 years ago- because glen asked soooooooo politely
shadzik [Wed, 20 Oct 2010 21:05:15 +0000 (21:05 +0000)]
- because glen asked soooooooo politely

svn-id: @11870

13 years ago- use shell constructs
Elan Ruusamäe [Wed, 20 Oct 2010 21:05:00 +0000 (21:05 +0000)]
- use shell constructs

svn-id: @11869

13 years ago- lowercase found module
Elan Ruusamäe [Wed, 20 Oct 2010 21:01:16 +0000 (21:01 +0000)]
- lowercase found module

svn-id: @11868

13 years ago- missing local
shadzik [Wed, 20 Oct 2010 20:56:41 +0000 (20:56 +0000)]
- missing local

svn-id: @11867

13 years ago- show examples for all available kernels
shadzik [Wed, 20 Oct 2010 20:53:38 +0000 (20:53 +0000)]
- show examples for all available kernels

svn-id: @11866

13 years ago- target compression detection is done
Elan Ruusamäe [Wed, 20 Oct 2010 20:53:25 +0000 (20:53 +0000)]
- target compression detection is done

svn-id: @11865

13 years ago- lspci -p
shadzik [Wed, 20 Oct 2010 20:46:48 +0000 (20:46 +0000)]
- lspci -p

svn-id: @11864

13 years ago- lame test for sysfs scanning for 0x0101 devices
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

13 years ago- use local variables
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

13 years ago- setup common test base
Elan Ruusamäe [Wed, 20 Oct 2010 20:36:41 +0000 (20:36 +0000)]
- setup common test base

svn-id: @11861

13 years ago- again, rename
shadzik [Wed, 20 Oct 2010 17:07:07 +0000 (17:07 +0000)]
- again, rename
- use only 0106 class

svn-id: @11860

13 years ago- check for lspci
shadzik [Wed, 20 Oct 2010 17:03:39 +0000 (17:03 +0000)]
- check for lspci

svn-id: @11859

13 years ago- rename to mod-xata.sh, but probably this shiuld be mod-sata, as i tend to leave...
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

13 years ago- use find_module
shadzik [Wed, 20 Oct 2010 16:55:16 +0000 (16:55 +0000)]
- use find_module

svn-id: @11857

13 years ago- ignore scsi, mod-scsi.sh is for that
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

13 years ago- this should be done in an other way, arekm says
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

13 years ago- change shebang and add comment like in other modules
shadzik [Wed, 20 Oct 2010 15:03:10 +0000 (15:03 +0000)]
- change shebang and add comment like in other modules

svn-id: @11854

13 years ago- when PREMODS are not set, try to autodetect xata/scsi modules
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

13 years ago- umount /proc as last
Elan Ruusamäe [Sun, 1 Aug 2010 15:24:12 +0000 (15:24 +0000)]
- umount /proc as last

svn-id: @11733

13 years ago- sysfs utilize
Elan Ruusamäe [Wed, 7 Jul 2010 07:41:04 +0000 (07:41 +0000)]
- sysfs utilize

svn-id: @11630

14 years agoRequire both /lib64 and /usr/lib64 to consider system be lib64 using one.
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

14 years ago- extract CONFIG_BLK_DEV_RAM_SIZE from configs kernel module if possible
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

14 years agoDon't require /sbin/mdadm. Use initrd mdadm when needed.
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

14 years ago- avoid extra checks as cycles are not ran
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

14 years agoscan=sync for scsi_mod on >= 2.6.30 (from Ti)
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

14 years ago- 10000.20 release 10000.20
Jan Rękorajski [Thu, 21 Jan 2010 15:55:54 +0000 (15:55 +0000)]
- 10000.20 release

svn-id: @11117

14 years ago- initrd-busybox changed to just busybox
Jan Rękorajski [Thu, 21 Jan 2010 13:45:16 +0000 (13:45 +0000)]
- initrd-busybox changed to just busybox

svn-id: @11116

14 years ago- if "cryptsetup status" returns no device, assume there is no cryptsetup
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

14 years ago- fix manual page generation
Elan Ruusamäe [Tue, 12 Jan 2010 11:13:09 +0000 (11:13 +0000)]
- fix manual page generation

svn-id: @11108

14 years ago- 10000.19 release
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.