]> git.pld-linux.org Git - projects/geninitrd.git/log
projects/geninitrd.git
11 years agoVersion 12635.
Arkadiusz Miśkiewicz [Mon, 18 Mar 2013 11:08:37 +0000 (11:08 +0000)]
Version 12635.

svn-id: @12636

11 years agoMake sure initial permissions for /dev/ nodes are correct since recent udev versions...
Arkadiusz Miśkiewicz [Mon, 18 Mar 2013 11:05:09 +0000 (11:05 +0000)]
Make sure initial permissions for /dev/ nodes are correct since recent udev versions leave inherited permissions (thus invalid sometimes eg busybox mdev set /dev/null mode to 660).

svn-id: @12635

11 years agoadd some todo items
Elan Ruusamäe [Mon, 11 Mar 2013 21:57:00 +0000 (21:57 +0000)]
add some todo items

svn-id: @12631

11 years agoDon't fail if driver module doesn't exist (we can run geninitrd for old kernel while...
Arkadiusz Miśkiewicz [Fri, 1 Mar 2013 11:09:20 +0000 (11:09 +0000)]
Don't fail if driver module doesn't exist (we can run geninitrd for old kernel while running some new kernel that has new drivers).

svn-id: @12627

11 years agoalias "debugrd" for "debuginitrd"
Elan Ruusamäe [Tue, 5 Feb 2013 16:02:27 +0000 (16:02 +0000)]
alias "debugrd" for "debuginitrd"

some broken loaders (i.e refind) parse "debuginitrd=sh" as if "initrd=sh" was
passed and then fail to load initrd image at all.

svn-id: @12621

11 years agono deprecated egrep
Elan Ruusamäe [Tue, 5 Feb 2013 15:54:56 +0000 (15:54 +0000)]
no deprecated egrep

svn-id: @12620

11 years agowhen using mdev, verify busybox has it present
Elan Ruusamäe [Tue, 5 Feb 2013 15:50:40 +0000 (15:50 +0000)]
when using mdev, verify busybox has it present

svn-id: @12619

11 years agorun resume after killing initrd daemons
Elan Ruusamäe [Tue, 5 Feb 2013 15:50:04 +0000 (15:50 +0000)]
run resume after killing initrd daemons

svn-id: @12618

11 years agodo not disable suspend in default config
Elan Ruusamäe [Tue, 5 Feb 2013 15:18:22 +0000 (15:18 +0000)]
do not disable suspend in default config

svn-id: @12617

11 years agolibcrc32c (kernel 3.8+) needs some crc32 library but it doesn't depend on it directly...
Arkadiusz Miśkiewicz [Fri, 4 Jan 2013 20:33:36 +0000 (20:33 +0000)]
libcrc32c (kernel 3.8+) needs some crc32 library but it doesn't depend on it directly (since there are different implementations like crc32c-intel or crc32c generic). Simulate dependency for now.

svn-id: @12612

11 years agohook blkid call also after LVM init
Elan Ruusamäe [Mon, 17 Sep 2012 13:22:26 +0000 (13:22 +0000)]
hook blkid call also after LVM init

svn-id: @12586

11 years agoupdate changelog
Elan Ruusamäe [Mon, 17 Sep 2012 12:45:48 +0000 (12:45 +0000)]
update changelog

svn-id: @12585

11 years agorelease 12582
Elan Ruusamäe [Mon, 17 Sep 2012 12:45:08 +0000 (12:45 +0000)]
release 12582

svn-id: @12584

11 years agoless noisy find_tool
Elan Ruusamäe [Mon, 17 Sep 2012 12:32:41 +0000 (12:32 +0000)]
less noisy find_tool

svn-id: @12583

11 years agodo not overwrite $ROOT if blkid fails
Elan Ruusamäe [Mon, 17 Sep 2012 12:22:04 +0000 (12:22 +0000)]
do not overwrite $ROOT if blkid fails

svn-id: @12582

11 years agomake internal variables visible when debuginitrd=sh
Elan Ruusamäe [Mon, 17 Sep 2012 12:20:19 +0000 (12:20 +0000)]
make internal variables visible when debuginitrd=sh

svn-id: @12581

11 years agoAlways use mdev (when udev is not in use).
Arkadiusz Miśkiewicz [Thu, 2 Aug 2012 16:47:13 +0000 (16:47 +0000)]
Always use mdev (when udev is not in use).

svn-id: @12575

11 years ago- add search paths to find_tool() so it will fall back to standard,
Jan Rękorajski [Thu, 5 Jul 2012 09:54:20 +0000 (09:54 +0000)]
- add search paths to find_tool() so it will fall back to standard,
  dynamically linked programs if those specified at command invocation
  cannot be found

svn-id: @12573

12 years agoAdd virio devices.
Arkadiusz Miśkiewicz [Tue, 15 May 2012 20:25:34 +0000 (20:25 +0000)]
Add virio devices.

svn-id: @12567

12 years agofix verbose via -v -v
Elan Ruusamäe [Mon, 14 May 2012 08:07:24 +0000 (08:07 +0000)]
fix verbose via -v -v

svn-id: @12566

12 years agoinitramfs switchroot: use awk own function to convert hex to dec (currently dietlibc...
Elan Ruusamäe [Mon, 23 Apr 2012 15:14:11 +0000 (15:14 +0000)]
initramfs switchroot: use awk own function to convert hex to dec (currently dietlibc built awk can't handle hex printf)

svn-id: @12560

12 years agoupdate
Elan Ruusamäe [Mon, 23 Apr 2012 15:12:32 +0000 (15:12 +0000)]
update

svn-id: @12559

12 years ago- test for sda5
Elan Ruusamäe [Mon, 23 Apr 2012 08:04:36 +0000 (08:04 +0000)]
- test for sda5

svn-id: @12558

12 years agodm_subsystem: ignore dmsetup output if exit code is not zero
Elan Ruusamäe [Tue, 17 Apr 2012 16:50:53 +0000 (16:50 +0000)]
dm_subsystem: ignore dmsetup output if exit code is not zero

svn-id: @12552

12 years agoadd debug and verbose output
Elan Ruusamäe [Tue, 17 Apr 2012 13:45:41 +0000 (13:45 +0000)]
add debug and verbose output

svn-id: @12550

12 years agofound some explanation of numeric root= params (used by lilo)
Elan Ruusamäe [Mon, 16 Apr 2012 18:14:37 +0000 (18:14 +0000)]
found some explanation of numeric root= params (used by lilo)

svn-id: @12549

12 years agoworkaround for subsystem being empty on lvm2 2.02.72 on 2.6.16 kernel
Elan Ruusamäe [Mon, 16 Apr 2012 16:02:52 +0000 (16:02 +0000)]
workaround for subsystem being empty on lvm2 2.02.72 on 2.6.16 kernel

svn-id: @12548

12 years agomake it easy to save initrd debug output to file
Elan Ruusamäe [Mon, 16 Apr 2012 15:34:53 +0000 (15:34 +0000)]
make it easy to save initrd debug output to file

svn-id: @12547

12 years agoinitramfs switchroot: fix parsing `root=fe00`
Elan Ruusamäe [Mon, 16 Apr 2012 12:45:01 +0000 (12:45 +0000)]
initramfs switchroot: fix parsing `root=fe00`

svn-id: @12546

12 years agotestcase for lilo dm-0 mount
Elan Ruusamäe [Mon, 16 Apr 2012 10:51:57 +0000 (10:51 +0000)]
testcase for lilo dm-0 mount

svn-id: @12545

12 years agoshow also /linuxrc in debug mode
Elan Ruusamäe [Mon, 16 Apr 2012 09:03:59 +0000 (09:03 +0000)]
show also /linuxrc in debug mode

svn-id: @12544

12 years agoshow /proc/partitions in debug mode from initrd build time
Elan Ruusamäe [Mon, 16 Apr 2012 09:01:27 +0000 (09:01 +0000)]
show /proc/partitions in debug mode from initrd build time

svn-id: @12543

12 years agotestcase for `root=0edc`
Elan Ruusamäe [Mon, 16 Apr 2012 08:54:13 +0000 (08:54 +0000)]
testcase for `root=0edc`

http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2012-April/155364.html

svn-id: @12542

12 years agofirmware udev binary is builtin in recent udev, so make all these binaries optional.
Arkadiusz Miśkiewicz [Sun, 8 Apr 2012 18:58:05 +0000 (18:58 +0000)]
firmware udev binary is builtin in recent udev, so make all these binaries optional.

svn-id: @12541

12 years agoVersion 12531. 12531
Arkadiusz Miśkiewicz [Fri, 30 Mar 2012 16:32:06 +0000 (16:32 +0000)]
Version 12531.

svn-id: @12533

12 years agoVersion 12531.
Arkadiusz Miśkiewicz [Fri, 30 Mar 2012 16:31:47 +0000 (16:31 +0000)]
Version 12531.

svn-id: @12532

12 years agoMore local variables (in find_modules_by_class_mit).
Arkadiusz Miśkiewicz [Fri, 30 Mar 2012 16:28:15 +0000 (16:28 +0000)]
More local variables (in find_modules_by_class_mit).

svn-id: @12531

12 years agono need to mess with magic values, let the "magic" be value
Elan Ruusamäe [Fri, 30 Mar 2012 14:41:13 +0000 (14:41 +0000)]
no need to mess with magic values, let the "magic" be value

svn-id: @12530

12 years agofix /proc/partitions parsing: expect "3" not "03" as device minor/major
Elan Ruusamäe [Fri, 30 Mar 2012 14:30:08 +0000 (14:30 +0000)]
fix /proc/partitions parsing: expect "3" not "03" as device minor/major

svn-id: @12529

12 years agosupply /proc/partitions dump
Elan Ruusamäe [Fri, 30 Mar 2012 14:16:24 +0000 (14:16 +0000)]
supply /proc/partitions dump

svn-id: @12528

12 years agofill all expected tests
Elan Ruusamäe [Fri, 30 Mar 2012 14:13:50 +0000 (14:13 +0000)]
fill all expected tests

svn-id: @12527

12 years agoadd test
Elan Ruusamäe [Fri, 30 Mar 2012 14:11:09 +0000 (14:11 +0000)]
add test

svn-id: @12526

12 years agoHandle case when no modaliases were found.
Arkadiusz Miśkiewicz [Thu, 29 Mar 2012 17:12:08 +0000 (17:12 +0000)]
Handle case when no modaliases were found.

svn-id: @12525

12 years agoTypos.
Arkadiusz Miśkiewicz [Thu, 29 Mar 2012 15:12:16 +0000 (15:12 +0000)]
Typos.

svn-id: @12524

12 years agono need for subshells, formatting
Elan Ruusamäe [Wed, 28 Mar 2012 08:44:51 +0000 (08:44 +0000)]
no need for subshells, formatting

svn-id: @12521

12 years agoUnfortunately module-init-tools modprobe doesn't work with new way. Provide old find_...
Arkadiusz Miśkiewicz [Wed, 28 Mar 2012 08:23:55 +0000 (08:23 +0000)]
Unfortunately module-init-tools modprobe doesn't work with new way. Provide old find_modules_by_class() for mit and new for kmod.

svn-id: @12520

12 years agoVersion 12517. 12517
Arkadiusz Miśkiewicz [Mon, 26 Mar 2012 18:46:17 +0000 (18:46 +0000)]
Version 12517.

svn-id: @12518

12 years agokmod option bug fixed in git
Elan Ruusamäe [Mon, 26 Mar 2012 16:46:52 +0000 (16:46 +0000)]
kmod option bug fixed in git

svn-id: @12517

12 years agoDry run for modprobe. We need names only.
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 20:58:34 +0000 (20:58 +0000)]
Dry run for modprobe. We need names only.

svn-id: @12516

12 years agoOur find_modules_by_class() relied on lspci and on modules.pcimap
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 20:49:55 +0000 (20:49 +0000)]
Our find_modules_by_class() relied on lspci and on modules.pcimap
file generated by module-init-tools. Unfortunately kmod no longer
generates modules.pcimap. Rewrite to use sysfs and modprobe only.

svn-id: @12515

12 years agoProperly skip duplicated when finding modules.
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 20:40:24 +0000 (20:40 +0000)]
Properly skip duplicated when finding modules.

svn-id: @12514

12 years agoWarn about missing pcimap file (unfortunately kmod doesn't generate it).
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 20:06:02 +0000 (20:06 +0000)]
Warn about missing pcimap file (unfortunately kmod doesn't generate it).

svn-id: @12513

12 years agoNo -l in grep.
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 18:27:54 +0000 (18:27 +0000)]
No -l in grep.

svn-id: @12512

12 years agoDetect Logitech Unifying Device. Unfortunately I know no way do detect keyboards...
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 18:27:27 +0000 (18:27 +0000)]
Detect Logitech Unifying Device. Unfortunately I know no way do detect keyboards only.

svn-id: @12511

12 years agoor here?
Elan Ruusamäe [Sat, 24 Mar 2012 02:02:33 +0000 (02:02 +0000)]
or here?

svn-id: @12510

12 years agoset LC_ALL for svn2log, in hope i twill sort filenames consistently
Elan Ruusamäe [Sat, 24 Mar 2012 01:59:56 +0000 (01:59 +0000)]
set LC_ALL for svn2log, in hope i twill sort filenames consistently

svn-id: @12509

12 years agokmod compat when parsing modprobe config options
Elan Ruusamäe [Wed, 21 Mar 2012 20:58:39 +0000 (20:58 +0000)]
kmod compat when parsing modprobe config options

svn-id: @12508

12 years agofix root= handling with initramfs & lvm
Elan Ruusamäe [Mon, 19 Mar 2012 20:20:59 +0000 (20:20 +0000)]
fix root= handling with initramfs & lvm

svn-id: @12506

12 years agominor fixes
Elan Ruusamäe [Mon, 19 Mar 2012 19:40:35 +0000 (19:40 +0000)]
minor fixes

svn-id: @12505

12 years agocosmetics
Elan Ruusamäe [Mon, 19 Mar 2012 19:34:11 +0000 (19:34 +0000)]
cosmetics

svn-id: @12504

12 years agocleanup env
Elan Ruusamäe [Mon, 19 Mar 2012 19:32:40 +0000 (19:32 +0000)]
cleanup env

svn-id: @12503

12 years agoblkid installed by mod-blkid
Elan Ruusamäe [Sun, 18 Mar 2012 19:25:59 +0000 (19:25 +0000)]
blkid installed by mod-blkid

svn-id: @12502

12 years agowhen checing dmsetup binary output, check it exists first
Elan Ruusamäe [Sun, 18 Mar 2012 19:19:42 +0000 (19:19 +0000)]
when checing dmsetup binary output, check it exists first

svn-id: @12501

12 years agoprefix lvm variables with LVM_
Elan Ruusamäe [Sun, 18 Mar 2012 16:32:24 +0000 (16:32 +0000)]
prefix lvm variables with LVM_

svn-id: @12500

12 years agodo not leak linuxrc variables to init
Elan Ruusamäe [Sun, 18 Mar 2012 15:55:50 +0000 (15:55 +0000)]
do not leak linuxrc variables to init

svn-id: @12499

12 years agodo not hide fact that /dev/console needs to be made
Elan Ruusamäe [Sun, 18 Mar 2012 15:12:02 +0000 (15:12 +0000)]
do not hide fact that /dev/console needs to be made

svn-id: @12498

12 years agofix for r12426 breaking inst_exec of multiple files
Elan Ruusamäe [Wed, 14 Mar 2012 20:11:23 +0000 (20:11 +0000)]
fix for r12426 breaking inst_exec of multiple files

svn-id: @12488

12 years agowarn when CONFIG_BLK_DEV_RAM_SIZE was not detected
Elan Ruusamäe [Wed, 14 Mar 2012 13:03:48 +0000 (13:03 +0000)]
warn when CONFIG_BLK_DEV_RAM_SIZE was not detected

svn-id: @12487

12 years agoExact match for partition/major/minor.
Arkadiusz Miśkiewicz [Thu, 16 Feb 2012 09:58:16 +0000 (09:58 +0000)]
Exact match for partition/major/minor.

svn-id: @12475

12 years agoset hotplug agent only once
Elan Ruusamäe [Sun, 29 Jan 2012 18:59:28 +0000 (18:59 +0000)]
set hotplug agent only once

svn-id: @12473

12 years agosort kernels by version
Elan Ruusamäe [Wed, 11 Jan 2012 22:37:01 +0000 (22:37 +0000)]
sort kernels by version

svn-id: @12465

12 years ago- release 12462 12462
Elan Ruusamäe [Mon, 9 Jan 2012 12:27:54 +0000 (12:27 +0000)]
- release 12462

svn-id: @12463

12 years ago- update
Elan Ruusamäe [Mon, 9 Jan 2012 12:27:08 +0000 (12:27 +0000)]
- update

svn-id: @12462

12 years agoTry to always have /dev/console in root fs.
Arkadiusz Miśkiewicz [Sun, 8 Jan 2012 22:04:21 +0000 (22:04 +0000)]
Try to always have /dev/console in root fs.

svn-id: @12461

12 years agocciss on hpsa: load also sd_mod (via find_modules_scsi)
Elan Ruusamäe [Fri, 6 Jan 2012 13:40:08 +0000 (13:40 +0000)]
cciss on hpsa: load also sd_mod (via find_modules_scsi)

svn-id: @12460

12 years agoload hpsa (and cciss) for 3.0 kernels with /dev/cciss devices
Elan Ruusamäe [Thu, 5 Jan 2012 19:54:16 +0000 (19:54 +0000)]
load hpsa (and cciss) for 3.0 kernels with /dev/cciss devices

svn-id: @12459

12 years agofilter out comments in modprobe_conf_cache rather in some places of code to get 100...
Elan Ruusamäe [Thu, 5 Jan 2012 19:43:32 +0000 (19:43 +0000)]
filter out comments in modprobe_conf_cache rather in some places of code to get 100% accuracy

svn-id: @12458

12 years agoparse resume= param value into $resume, not just hardcode "yes"
Elan Ruusamäe [Thu, 5 Jan 2012 17:07:24 +0000 (17:07 +0000)]
parse resume= param value into $resume, not just hardcode "yes"

svn-id: @12457

12 years agoinitramfs as default.
Arkadiusz Miśkiewicz [Wed, 7 Dec 2011 20:43:45 +0000 (20:43 +0000)]
initramfs as default.

svn-id: @12445

12 years agouse awk vars, makes awk part readable
Elan Ruusamäe [Wed, 7 Dec 2011 19:32:09 +0000 (19:32 +0000)]
use awk vars, makes awk part readable

svn-id: @12444

12 years ago- look-up crypttab in is_luks() too, active LUKS device is not examined any
Jacek Konieczny [Mon, 5 Dec 2011 19:52:18 +0000 (19:52 +0000)]
- look-up crypttab in is_luks() too, active LUKS device is not examined any
  more (the underlaying device is still checked with 'cryptsetup isLuks')

svn-id: @12443

12 years ago- do not try to extract encrypted device name from an active LUKS device – the
Jacek Konieczny [Mon, 5 Dec 2011 19:22:11 +0000 (19:22 +0000)]
- do not try to extract encrypted device name from an active LUKS device – the
  information is already available in /etc/crypttab

svn-id: @12442

12 years agoTell us what device.
Arkadiusz Miśkiewicz [Mon, 5 Dec 2011 18:29:24 +0000 (18:29 +0000)]
Tell us what device.

svn-id: @12441

12 years agoDon't hardcode device name. Local variables.
Arkadiusz Miśkiewicz [Mon, 5 Dec 2011 18:26:10 +0000 (18:26 +0000)]
Don't hardcode device name. Local variables.

svn-id: @12440

12 years ago- magic to get the LUKS lower level device name when initialized with old cryptsetup
Jacek Konieczny [Mon, 5 Dec 2011 18:20:26 +0000 (18:20 +0000)]
- magic to get the LUKS lower level device name when initialized with old cryptsetup

svn-id: @12439

12 years agoFallback detection if device is crypted.
Arkadiusz Miśkiewicz [Mon, 5 Dec 2011 08:25:54 +0000 (08:25 +0000)]
Fallback detection if device is crypted.

svn-id: @12438

12 years ago- release 12432 12432
Elan Ruusamäe [Sat, 3 Dec 2011 20:39:03 +0000 (20:39 +0000)]
- release 12432

svn-id: @12433

12 years agoUse only dmsetup with udev support
Artur Frysiak [Sat, 3 Dec 2011 20:16:32 +0000 (20:16 +0000)]
Use only dmsetup with udev support

svn-id: @12432

12 years agoInstall special udev rules
Artur Frysiak [Sat, 3 Dec 2011 19:52:49 +0000 (19:52 +0000)]
Install special udev rules

Rules copied from dracut

svn-id: @12431

12 years agoUse udevadm to stop udevd
Artur Frysiak [Sat, 3 Dec 2011 19:52:44 +0000 (19:52 +0000)]
Use udevadm to stop udevd

svn-id: @12430

12 years agoFix udev coldplug
Artur Frysiak [Sat, 3 Dec 2011 19:52:40 +0000 (19:52 +0000)]
Fix udev coldplug

svn-id: @12429

12 years agoMount /run (required for udev >= 168)
Artur Frysiak [Sat, 3 Dec 2011 19:52:36 +0000 (19:52 +0000)]
Mount /run (required for udev >= 168)

svn-id: @12428

12 years agoInstall udev rules and helpers
Artur Frysiak [Sat, 3 Dec 2011 19:52:31 +0000 (19:52 +0000)]
Install udev rules and helpers

svn-id: @12427

12 years agoDon't run ldd on dynamic linker
Artur Frysiak [Sat, 3 Dec 2011 19:52:27 +0000 (19:52 +0000)]
Don't run ldd on dynamic linker

$ ldd /lib64/ld-linux-x86-64.so.2
loader cannot load itself
ldd: exited with unknown exit code (127)

svn-id: @12426

12 years ago/run support
Artur Frysiak [Sat, 3 Dec 2011 19:52:22 +0000 (19:52 +0000)]
/run support

svn-id: @12425

12 years agoUse devtmpfs on /dev
Artur Frysiak [Sat, 3 Dec 2011 19:52:18 +0000 (19:52 +0000)]
Use devtmpfs on /dev

Mount devtmpfs on /dev and if fail fallback to tmpfs.

svn-id: @12424

12 years agoMount /dev on initramfs too
Artur Frysiak [Sat, 3 Dec 2011 19:52:12 +0000 (19:52 +0000)]
Mount /dev on initramfs too

svn-id: @12423

12 years agoBe much more conservative when stripping symbols on kernel modules (so backtraces...
Arkadiusz Miśkiewicz [Sat, 3 Dec 2011 15:13:08 +0000 (15:13 +0000)]
Be much more conservative when stripping symbols on kernel modules (so backtraces aren't crap).

svn-id: @12422

12 years agoskip empty functions, error in some shells
Elan Ruusamäe [Sun, 27 Nov 2011 14:03:41 +0000 (14:03 +0000)]
skip empty functions, error in some shells

svn-id: @12415

12 years agocheck that strip exists before stripping
Elan Ruusamäe [Tue, 15 Nov 2011 10:43:22 +0000 (10:43 +0000)]
check that strip exists before stripping

svn-id: @12413

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