]> git.pld-linux.org Git - projects/geninitrd.git/log
projects/geninitrd.git
12 years ago- version, .34 find_depmod() return code fix, r12300 10000.34
Elan Ruusamäe [Wed, 10 Aug 2011 10:21:09 +0000 (10:21 +0000)]
- version, .34 find_depmod() return code fix, r12300

svn-id: @12301

12 years agofind_depmod(): Return 0 in non-fatal cases (prevent non-zero exit codes from slipping).
Arkadiusz Miśkiewicz [Thu, 4 Aug 2011 20:52:39 +0000 (20:52 +0000)]
find_depmod(): Return 0 in non-fatal cases (prevent non-zero exit codes from slipping).

svn-id: @12300

12 years agouse stat format busybox understands too
Elan Ruusamäe [Wed, 27 Jul 2011 06:59:14 +0000 (06:59 +0000)]
use stat format busybox understands too

svn-id: @12277

12 years agonote about tagging 10000.33
Elan Ruusamäe [Wed, 27 Jul 2011 06:54:50 +0000 (06:54 +0000)]
note about tagging

svn-id: @12275

12 years ago- update
Elan Ruusamäe [Wed, 27 Jul 2011 06:53:21 +0000 (06:53 +0000)]
- update

svn-id: @12274

12 years ago- up to 10000.33, current geninitrd is not usable with rootfs on lvm2 with current...
Elan Ruusamäe [Wed, 27 Jul 2011 06:53:03 +0000 (06:53 +0000)]
- up to 10000.33, current geninitrd is not usable with rootfs on lvm2 with current lvm2

svn-id: @12273

12 years agouse stat(1) instead of ls(1) to figure out device minor node number
Elan Ruusamäe [Wed, 27 Jul 2011 06:34:34 +0000 (06:34 +0000)]
use stat(1) instead of ls(1) to figure out device minor node number

svn-id: @12272

12 years agoext2 fs needs IMAGESIZE earlier
Elan Ruusamäe [Tue, 19 Jul 2011 23:28:24 +0000 (23:28 +0000)]
ext2 fs needs IMAGESIZE earlier

svn-id: @12263

12 years agoadd geninitrd version to romfs, add minimal label for ext2
Elan Ruusamäe [Tue, 19 Jul 2011 23:27:28 +0000 (23:27 +0000)]
add geninitrd version to romfs, add minimal label for ext2

svn-id: @12262

12 years ago- lvm2 leaked fd todo
Elan Ruusamäe [Tue, 19 Jul 2011 22:59:42 +0000 (22:59 +0000)]
- lvm2 leaked fd todo

svn-id: @12261

12 years agoSkip suffix when kernel version is like 3.0-1.2.
Arkadiusz Miśkiewicz [Sun, 26 Jun 2011 11:22:42 +0000 (11:22 +0000)]
Skip suffix when kernel version is like 3.0-1.2.

svn-id: @12251

12 years agoDon't clean dev_list_extra when DEVICE partitions is used in mdadm.conf.
Arkadiusz Miśkiewicz [Fri, 24 Jun 2011 09:00:43 +0000 (09:00 +0000)]
Don't clean dev_list_extra when DEVICE partitions is used in mdadm.conf.

svn-id: @12249

13 years agoAlways create /dev/snapshot (needed for suspend).
Arkadiusz Miśkiewicz [Sun, 10 Apr 2011 11:05:29 +0000 (11:05 +0000)]
Always create /dev/snapshot (needed for suspend).

svn-id: @12224

13 years agodm_lvm2_name(): /dev/mapper/xyz can be a symlink to real device. Dereference when...
Arkadiusz Miśkiewicz [Tue, 15 Mar 2011 20:42:30 +0000 (20:42 +0000)]
dm_lvm2_name(): /dev/mapper/xyz can be a symlink to real device. Dereference when checking.

svn-id: @12200

13 years agoDon't resolve symlink for luks devices. We need non-resolved form.
Arkadiusz Miśkiewicz [Fri, 11 Mar 2011 11:34:25 +0000 (11:34 +0000)]
Don't resolve symlink for luks devices. We need non-resolved form.

svn-id: @12199

13 years agoBetter error msg.
Arkadiusz Miśkiewicz [Mon, 7 Mar 2011 10:00:52 +0000 (10:00 +0000)]
Better error msg.

svn-id: @12196

13 years agoCheck class/class_mask when walking over modules.pcimap (fixes a bug where snd-hda...
Arkadiusz Miśkiewicz [Sun, 6 Mar 2011 16:14:38 +0000 (16:14 +0000)]
Check class/class_mask when walking over modules.pcimap (fixes a bug where snd-hda-intel devices were found by this).

svn-id: @12195

13 years agoCall awk via busybox just like other commands are called.
Arkadiusz Miśkiewicz [Thu, 3 Mar 2011 18:20:46 +0000 (18:20 +0000)]
Call awk via busybox just like other commands are called.

svn-id: @12183

13 years agoBoot fails when using rootfsflags option (rootfs is not mounted properly). Fix that...
Arkadiusz Miśkiewicz [Tue, 1 Mar 2011 10:31:34 +0000 (10:31 +0000)]
Boot fails when using rootfsflags option (rootfs is not mounted properly). Fix that by using correct variable name.

svn-id: @12175

13 years agoeach module their own rcsid var
Elan Ruusamäe [Sat, 19 Feb 2011 13:59:40 +0000 (13:59 +0000)]
each module their own rcsid var

svn-id: @12169

13 years agotruncate the date to cut out locale formats
Elan Ruusamäe [Sat, 19 Feb 2011 13:53:03 +0000 (13:53 +0000)]
truncate the date to cut out locale formats

svn-id: @12168

13 years agoMove $RCSID printing where it has chance to work
Elan Ruusamäe [Sat, 19 Feb 2011 08:38:20 +0000 (08:38 +0000)]
Move $RCSID printing where it has chance to work

svn-id: @12167

13 years agoyou need svn:keywords on each file for those to get expanded
Elan Ruusamäe [Sat, 19 Feb 2011 08:34:13 +0000 (08:34 +0000)]
you need svn:keywords on each file for those to get expanded

svn-id: @12166

13 years agoRelease 10000.32 (experimental). 10000.32
Arkadiusz Miśkiewicz [Sat, 19 Feb 2011 08:27:52 +0000 (08:27 +0000)]
Release 10000.32 (experimental).

svn-id: @12164

13 years agoNicer way to display rcsid.
Arkadiusz Miśkiewicz [Sat, 19 Feb 2011 08:26:36 +0000 (08:26 +0000)]
Nicer way to display rcsid.

svn-id: @12163

13 years agoRevert, this wasn't meant to be in previous commit.
Arkadiusz Miśkiewicz [Sat, 19 Feb 2011 07:56:43 +0000 (07:56 +0000)]
Revert, this wasn't meant to be in previous commit.

svn-id: @12162

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

This page took 0.109364 seconds and 4 git commands to generate.