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

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

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