]>
git.pld-linux.org Git - projects/geninitrd.git/log
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
Elan Ruusamäe [Fri, 30 Mar 2012 14:16:24 +0000 (14:16 +0000)]
supply /proc/partitions dump
svn-id: @12528
Elan Ruusamäe [Fri, 30 Mar 2012 14:13:50 +0000 (14:13 +0000)]
fill all expected tests
svn-id: @12527
Elan Ruusamäe [Fri, 30 Mar 2012 14:11:09 +0000 (14:11 +0000)]
add test
svn-id: @12526
Arkadiusz Miśkiewicz [Thu, 29 Mar 2012 17:12:08 +0000 (17:12 +0000)]
Handle case when no modaliases were found.
svn-id: @12525
Arkadiusz Miśkiewicz [Thu, 29 Mar 2012 15:12:16 +0000 (15:12 +0000)]
Typos.
svn-id: @12524
Elan Ruusamäe [Wed, 28 Mar 2012 08:44:51 +0000 (08:44 +0000)]
no need for subshells, formatting
svn-id: @12521
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
Arkadiusz Miśkiewicz [Mon, 26 Mar 2012 18:46:17 +0000 (18:46 +0000)]
Version 12517.
svn-id: @12518
Elan Ruusamäe [Mon, 26 Mar 2012 16:46:52 +0000 (16:46 +0000)]
kmod option bug fixed in git
svn-id: @12517
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
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
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 20:40:24 +0000 (20:40 +0000)]
Properly skip duplicated when finding modules.
svn-id: @12514
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
Arkadiusz Miśkiewicz [Sat, 24 Mar 2012 18:27:54 +0000 (18:27 +0000)]
No -l in grep.
svn-id: @12512
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
Elan Ruusamäe [Sat, 24 Mar 2012 02:02:33 +0000 (02:02 +0000)]
or here?
svn-id: @12510
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
Elan Ruusamäe [Wed, 21 Mar 2012 20:58:39 +0000 (20:58 +0000)]
kmod compat when parsing modprobe config options
svn-id: @12508
Elan Ruusamäe [Mon, 19 Mar 2012 20:20:59 +0000 (20:20 +0000)]
fix root= handling with initramfs & lvm
svn-id: @12506
Elan Ruusamäe [Mon, 19 Mar 2012 19:40:35 +0000 (19:40 +0000)]
minor fixes
svn-id: @12505
Elan Ruusamäe [Mon, 19 Mar 2012 19:34:11 +0000 (19:34 +0000)]
cosmetics
svn-id: @12504
Elan Ruusamäe [Mon, 19 Mar 2012 19:32:40 +0000 (19:32 +0000)]
cleanup env
svn-id: @12503
Elan Ruusamäe [Sun, 18 Mar 2012 19:25:59 +0000 (19:25 +0000)]
blkid installed by mod-blkid
svn-id: @12502
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
Elan Ruusamäe [Sun, 18 Mar 2012 16:32:24 +0000 (16:32 +0000)]
prefix lvm variables with LVM_
svn-id: @12500
Elan Ruusamäe [Sun, 18 Mar 2012 15:55:50 +0000 (15:55 +0000)]
do not leak linuxrc variables to init
svn-id: @12499
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
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
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
Arkadiusz Miśkiewicz [Thu, 16 Feb 2012 09:58:16 +0000 (09:58 +0000)]
Exact match for partition/major/minor.
svn-id: @12475
Elan Ruusamäe [Sun, 29 Jan 2012 18:59:28 +0000 (18:59 +0000)]
set hotplug agent only once
svn-id: @12473
Elan Ruusamäe [Wed, 11 Jan 2012 22:37:01 +0000 (22:37 +0000)]
sort kernels by version
svn-id: @12465
Elan Ruusamäe [Mon, 9 Jan 2012 12:27:54 +0000 (12:27 +0000)]
- release 12462
svn-id: @12463
Elan Ruusamäe [Mon, 9 Jan 2012 12:27:08 +0000 (12:27 +0000)]
- update
svn-id: @12462
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
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
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
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
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
Arkadiusz Miśkiewicz [Wed, 7 Dec 2011 20:43:45 +0000 (20:43 +0000)]
initramfs as default.
svn-id: @12445
Elan Ruusamäe [Wed, 7 Dec 2011 19:32:09 +0000 (19:32 +0000)]
use awk vars, makes awk part readable
svn-id: @12444
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
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
Arkadiusz Miśkiewicz [Mon, 5 Dec 2011 18:29:24 +0000 (18:29 +0000)]
Tell us what device.
svn-id: @12441
Arkadiusz Miśkiewicz [Mon, 5 Dec 2011 18:26:10 +0000 (18:26 +0000)]
Don't hardcode device name. Local variables.
svn-id: @12440
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
Arkadiusz Miśkiewicz [Mon, 5 Dec 2011 08:25:54 +0000 (08:25 +0000)]
Fallback detection if device is crypted.
svn-id: @12438
Elan Ruusamäe [Sat, 3 Dec 2011 20:39:03 +0000 (20:39 +0000)]
- release 12432
svn-id: @12433
Artur Frysiak [Sat, 3 Dec 2011 20:16:32 +0000 (20:16 +0000)]
Use only dmsetup with udev support
svn-id: @12432
Artur Frysiak [Sat, 3 Dec 2011 19:52:49 +0000 (19:52 +0000)]
Install special udev rules
Rules copied from dracut
svn-id: @12431
Artur Frysiak [Sat, 3 Dec 2011 19:52:44 +0000 (19:52 +0000)]
Use udevadm to stop udevd
svn-id: @12430
Artur Frysiak [Sat, 3 Dec 2011 19:52:40 +0000 (19:52 +0000)]
Fix udev coldplug
svn-id: @12429
Artur Frysiak [Sat, 3 Dec 2011 19:52:36 +0000 (19:52 +0000)]
Mount /run (required for udev >= 168)
svn-id: @12428
Artur Frysiak [Sat, 3 Dec 2011 19:52:31 +0000 (19:52 +0000)]
Install udev rules and helpers
svn-id: @12427
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
Artur Frysiak [Sat, 3 Dec 2011 19:52:22 +0000 (19:52 +0000)]
/run support
svn-id: @12425
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
Artur Frysiak [Sat, 3 Dec 2011 19:52:12 +0000 (19:52 +0000)]
Mount /dev on initramfs too
svn-id: @12423
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
Elan Ruusamäe [Sun, 27 Nov 2011 14:03:41 +0000 (14:03 +0000)]
skip empty functions, error in some shells
svn-id: @12415
Elan Ruusamäe [Tue, 15 Nov 2011 10:43:22 +0000 (10:43 +0000)]
check that strip exists before stripping
svn-id: @12413
Arkadiusz Miśkiewicz [Wed, 9 Nov 2011 19:39:36 +0000 (19:39 +0000)]
No need for separate var (glen).
svn-id: @12412
Arkadiusz Miśkiewicz [Wed, 9 Nov 2011 18:19:39 +0000 (18:19 +0000)]
Use uncompressed module file name.
svn-id: @12411
Elan Ruusamäe [Wed, 9 Nov 2011 07:42:48 +0000 (07:42 +0000)]
let $STRIP be internally path to strip, add --strip=PATH/strip and --strip PATH/strip args
svn-id: @12410
Arkadiusz Miśkiewicz [Tue, 8 Nov 2011 21:04:28 +0000 (21:04 +0000)]
Strip modules by default.
svn-id: @12409
Arkadiusz Miśkiewicz [Wed, 26 Oct 2011 19:58:54 +0000 (19:58 +0000)]
LC_ALL=C for lspci call in case if someone translates things.
svn-id: @12393
Arkadiusz Miśkiewicz [Wed, 26 Oct 2011 19:57:08 +0000 (19:57 +0000)]
Space at the end allways.
svn-id: @12392
Arkadiusz Miśkiewicz [Wed, 26 Oct 2011 19:52:24 +0000 (19:52 +0000)]
Use lspci only for finding kernel modules. Our shell code was full of bugs. Also try to preserve xhci/ehco/ohci/uhci modules loading order.
svn-id: @12391
Elan Ruusamäe [Mon, 24 Oct 2011 13:35:18 +0000 (13:35 +0000)]
update changelog with current CVSROOT/users
svn-id: @12390
Arkadiusz Miśkiewicz [Fri, 21 Oct 2011 20:08:08 +0000 (20:08 +0000)]
Release 12385.
svn-id: @12385
Arkadiusz Miśkiewicz [Fri, 21 Oct 2011 20:07:27 +0000 (20:07 +0000)]
Prepare for new release.
svn-id: @12384
Elan Ruusamäe [Thu, 20 Oct 2011 09:43:01 +0000 (09:43 +0000)]
more precise desc
svn-id: @12383
Bartłomiej Zimoń [Wed, 19 Oct 2011 17:51:31 +0000 (17:51 +0000)]
- document dash prefix for module name
svn-id: @12382
Elan Ruusamäe [Sat, 15 Oct 2011 14:03:57 +0000 (14:03 +0000)]
update changelog
svn-id: @12381
Elan Ruusamäe [Sat, 15 Oct 2011 14:00:45 +0000 (14:00 +0000)]
make ./geninitrd -v /tmp to produce geninitrd line to generate image to /tmp
svn-id: @12380
Elan Ruusamäe [Sat, 15 Oct 2011 13:54:09 +0000 (13:54 +0000)]
leak less local vars
svn-id: @12379
Elan Ruusamäe [Sat, 15 Oct 2011 13:52:38 +0000 (13:52 +0000)]
fix svn keywords
svn-id: @12378
Elan Ruusamäe [Sat, 15 Oct 2011 13:49:57 +0000 (13:49 +0000)]
$DEBUGINIRD is initrd runtime var, not gentime var
svn-id: @12377
Arkadiusz Miśkiewicz [Sat, 15 Oct 2011 08:56:50 +0000 (08:56 +0000)]
Tell us what was found.
svn-id: @12376
Arkadiusz Miśkiewicz [Sat, 15 Oct 2011 08:27:40 +0000 (08:27 +0000)]
Echo not ls.
svn-id: @12375
Arkadiusz Miśkiewicz [Sat, 15 Oct 2011 08:21:23 +0000 (08:21 +0000)]
USB keyboard modules finding and loading at initrd level.
svn-id: @12374
Arkadiusz Miśkiewicz [Sat, 15 Oct 2011 08:21:09 +0000 (08:21 +0000)]
USB keyboard modules finding and loading at initrd level.
svn-id: @12373
Arkadiusz Miśkiewicz [Sat, 15 Oct 2011 07:38:16 +0000 (07:38 +0000)]
Fix PCI_ANY_ID (it is 0xffffffff (~0) and not 0x0000ffff).
Change class_mask to always ignore two last digits (as these
are "program interface" and we want any program interface).
Apply class_mask to classes found by lspci. Some devices
(eg. *-hcd) have very specific program interfaces while
we want any of these.
Venrod matchin PCI_ANY_ID is also fine for us.
With these changes finding non sata classes also works eg.
finding find_modules_by_class 0c03 (usb) works.
svn-id: @12372
Arkadiusz Miśkiewicz [Sun, 2 Oct 2011 17:10:42 +0000 (17:10 +0000)]
Warn about missing firmware instead of failing. Some modules specify firmware files for multiple hardware and you don't need all of these.
svn-id: @12361
Artur Frysiak [Thu, 15 Sep 2011 18:45:11 +0000 (18:45 +0000)]
Handle /dev/disk/by-uuid/* devices in /etc/crypttab
svn-id: @12348
Elan Ruusamäe [Sun, 11 Sep 2011 20:04:25 +0000 (20:04 +0000)]
VERSION 12345
svn-id: @12345
Arkadiusz Miśkiewicz [Thu, 25 Aug 2011 17:53:53 +0000 (17:53 +0000)]
Left side expands to decimal while right side was in hex. Convert right side to decimal.
svn-id: @12335
Arkadiusz Miśkiewicz [Wed, 24 Aug 2011 19:42:47 +0000 (19:42 +0000)]
Show /proc/mdstat contents in debuginitd mode.
svn-id: @12334
Elan Ruusamäe [Fri, 19 Aug 2011 19:40:53 +0000 (19:40 +0000)]
kill v86d at the end of initrd, to be able to umount /initrd later
svn-id: @12327
Elan Ruusamäe [Fri, 19 Aug 2011 19:39:24 +0000 (19:39 +0000)]
Do not send usage() to stderr, let it be useful for grep(1)-ing or less(1)-ing
svn-id: @12326
Elan Ruusamäe [Mon, 15 Aug 2011 10:24:41 +0000 (10:24 +0000)]
ikconfig: try also /boot/config-$kernel before falling back to extraction from vmlinuz
svn-id: @12325
Elan Ruusamäe [Mon, 15 Aug 2011 10:06:51 +0000 (10:06 +0000)]
in usage, show full path to program and pass on also $verbose opt as samples
svn-id: @12324
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
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
Elan Ruusamäe [Wed, 27 Jul 2011 06:59:14 +0000 (06:59 +0000)]
use stat format busybox understands too
svn-id: @12277
Elan Ruusamäe [Wed, 27 Jul 2011 06:54:50 +0000 (06:54 +0000)]
note about tagging
svn-id: @12275
Elan Ruusamäe [Wed, 27 Jul 2011 06:53:21 +0000 (06:53 +0000)]
- update
svn-id: @12274
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
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
This page took 1.837474 seconds and 4 git commands to generate.