]> git.pld-linux.org Git - projects/geninitrd.git/log
projects/geninitrd.git
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

12 years agoNo need for separate var (glen).
Arkadiusz Miśkiewicz [Wed, 9 Nov 2011 19:39:36 +0000 (19:39 +0000)]
No need for separate var (glen).

svn-id: @12412

12 years agoUse uncompressed module file name.
Arkadiusz Miśkiewicz [Wed, 9 Nov 2011 18:19:39 +0000 (18:19 +0000)]
Use uncompressed module file name.

svn-id: @12411

12 years agolet $STRIP be internally path to strip, add --strip=PATH/strip and --strip PATH/strip...
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

12 years agoStrip modules by default.
Arkadiusz Miśkiewicz [Tue, 8 Nov 2011 21:04:28 +0000 (21:04 +0000)]
Strip modules by default.

svn-id: @12409

12 years agoLC_ALL=C for lspci call in case if someone translates things.
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

12 years agoSpace at the end allways.
Arkadiusz Miśkiewicz [Wed, 26 Oct 2011 19:57:08 +0000 (19:57 +0000)]
Space at the end allways.

svn-id: @12392

12 years agoUse lspci only for finding kernel modules. Our shell code was full of bugs. Also...
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

12 years agoupdate changelog with current CVSROOT/users
Elan Ruusamäe [Mon, 24 Oct 2011 13:35:18 +0000 (13:35 +0000)]
update changelog with current CVSROOT/users

svn-id: @12390

12 years agoRelease 12385. 12385
Arkadiusz Miśkiewicz [Fri, 21 Oct 2011 20:08:08 +0000 (20:08 +0000)]
Release 12385.

svn-id: @12385

12 years agoPrepare for new release.
Arkadiusz Miśkiewicz [Fri, 21 Oct 2011 20:07:27 +0000 (20:07 +0000)]
Prepare for new release.

svn-id: @12384

12 years agomore precise desc
Elan Ruusamäe [Thu, 20 Oct 2011 09:43:01 +0000 (09:43 +0000)]
more precise desc

svn-id: @12383

12 years ago- document dash prefix for module name
Bartłomiej Zimoń [Wed, 19 Oct 2011 17:51:31 +0000 (17:51 +0000)]
- document dash prefix for module name

svn-id: @12382

12 years agoupdate changelog
Elan Ruusamäe [Sat, 15 Oct 2011 14:03:57 +0000 (14:03 +0000)]
update changelog

svn-id: @12381

12 years agomake ./geninitrd -v /tmp to produce geninitrd line to generate image to /tmp
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

12 years agoleak less local vars
Elan Ruusamäe [Sat, 15 Oct 2011 13:54:09 +0000 (13:54 +0000)]
leak less local vars

svn-id: @12379

12 years agofix svn keywords
Elan Ruusamäe [Sat, 15 Oct 2011 13:52:38 +0000 (13:52 +0000)]
fix svn keywords

svn-id: @12378

12 years ago$DEBUGINIRD is initrd runtime var, not gentime var
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

12 years agoTell us what was found.
Arkadiusz Miśkiewicz [Sat, 15 Oct 2011 08:56:50 +0000 (08:56 +0000)]
Tell us what was found.

svn-id: @12376

12 years agoEcho not ls.
Arkadiusz Miśkiewicz [Sat, 15 Oct 2011 08:27:40 +0000 (08:27 +0000)]
Echo not ls.

svn-id: @12375

12 years agoUSB keyboard modules finding and loading at initrd level.
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

12 years agoUSB keyboard modules finding and loading at initrd level.
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

12 years agoFix PCI_ANY_ID (it is 0xffffffff (~0) and not 0x0000ffff).
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

12 years agoWarn about missing firmware instead of failing. Some modules specify firmware files...
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

12 years agoHandle /dev/disk/by-uuid/* devices in /etc/crypttab
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

12 years agoVERSION 12345 12345
Elan Ruusamäe [Sun, 11 Sep 2011 20:04:25 +0000 (20:04 +0000)]
VERSION 12345

svn-id: @12345

12 years agoLeft side expands to decimal while right side was in hex. Convert right side to decimal.
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

12 years agoShow /proc/mdstat contents in debuginitd mode.
Arkadiusz Miśkiewicz [Wed, 24 Aug 2011 19:42:47 +0000 (19:42 +0000)]
Show /proc/mdstat contents in debuginitd mode.

svn-id: @12334

12 years agokill v86d at the end of initrd, to be able to umount /initrd later
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

12 years agoDo not send usage() to stderr, let it be useful for grep(1)-ing or less(1)-ing
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

12 years agoikconfig: try also /boot/config-$kernel before falling back to extraction from vmlinuz
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

12 years agoin usage, show full path to program and pass on also $verbose opt as samples
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

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

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