]> git.pld-linux.org Git - projects/geninitrd.git/log
projects/geninitrd.git
7 years agoaccept rootfs= kernel commandline argument
Elan Ruusamäe [Wed, 29 Jun 2016 19:48:43 +0000 (22:48 +0300)]
accept rootfs= kernel commandline argument

8 years agoAlso mount /run as noexec,nosuid,nodev (as suggested by qboosh).
Arkadiusz Miśkiewicz [Tue, 7 Jun 2016 14:52:17 +0000 (16:52 +0200)]
Also mount /run as noexec,nosuid,nodev (as suggested by qboosh).

8 years agocryptsetup: Use 120s timeout when asking for password.
Arkadiusz Miśkiewicz [Tue, 7 Jun 2016 06:36:48 +0000 (08:36 +0200)]
cryptsetup: Use 120s timeout when asking for password.

8 years agoMount /run with 0755.
Arkadiusz Miśkiewicz [Tue, 7 Jun 2016 06:30:46 +0000 (08:30 +0200)]
Mount /run with 0755.

8 years agoMake rootdev fallback work.
Arkadiusz Miśkiewicz [Fri, 13 May 2016 22:36:02 +0000 (00:36 +0200)]
Make rootdev fallback work.

8 years agoUse uevent feature of new busybox instead of pure and racy mdev via hotplug
Arkadiusz Miśkiewicz [Sat, 7 May 2016 10:34:33 +0000 (12:34 +0200)]
Use uevent feature of new busybox instead of pure and racy mdev via hotplug

8 years agoCheck if kernel supports specified INITRDFS (tested with initramfs and romfs only...
Arkadiusz Miśkiewicz [Fri, 26 Feb 2016 17:15:14 +0000 (18:15 +0100)]
Check if kernel supports specified INITRDFS (tested with initramfs and romfs only though)

8 years agoAllow containers in ex devices.
Arkadiusz Miśkiewicz [Sun, 31 Jan 2016 16:03:18 +0000 (17:03 +0100)]
Allow containers in ex devices.

8 years agoAlways include partitions and containers when starting mdadm array.
Arkadiusz Miśkiewicz [Sun, 31 Jan 2016 16:00:15 +0000 (17:00 +0100)]
Always include partitions and containers when starting mdadm array.

8 years agoReorder compressors, so best (smallest image) is used first. Using best compression...
Arkadiusz Miśkiewicz [Wed, 20 Jan 2016 20:57:53 +0000 (21:57 +0100)]
Reorder compressors, so best (smallest image) is used first. Using best compression to avoid a need to play with kernel options to load bigger ramdisks.

8 years agoAllow usage of UUID/LABEL in /etc/crypttab. 12757
Arkadiusz Miśkiewicz [Mon, 9 Nov 2015 12:02:48 +0000 (13:02 +0100)]
Allow usage of UUID/LABEL in /etc/crypttab.

8 years agoAdd basic group file and make NSS calls working. Fixes 'specified group "xyz" unknown...
Arkadiusz Miśkiewicz [Sun, 28 Jun 2015 13:12:15 +0000 (15:12 +0200)]
Add basic group file and make NSS calls working. Fixes 'specified group "xyz" unknown' when udev starts from initrd.

8 years agoOne more fallback for rootdev.
Arkadiusz Miśkiewicz [Sun, 28 Jun 2015 12:38:20 +0000 (14:38 +0200)]
One more fallback for rootdev.

9 years agopreserve permissions when copying to initrd
Elan Ruusamäe [Fri, 15 May 2015 22:32:05 +0000 (01:32 +0300)]
preserve permissions when copying to initrd

initramfs has permissions and timestamps compared to romfs, so preserve
original file permissions, instead being affected from umask when
geninitrd was ran

9 years agoOne install is fine.
Arkadiusz Miśkiewicz [Thu, 26 Mar 2015 16:52:19 +0000 (17:52 +0100)]
One install is fine.

9 years agoSupport all libdir (lib lib64 libx32) directories.
Arkadiusz Miśkiewicz [Thu, 26 Mar 2015 16:48:46 +0000 (17:48 +0100)]
Support all libdir (lib lib64 libx32) directories.

9 years agoPrefer suspend/resume binary over initrd/resume. Install previously found binary...
Arkadiusz Miśkiewicz [Thu, 26 Mar 2015 12:26:16 +0000 (13:26 +0100)]
Prefer suspend/resume binary over initrd/resume. Install previously found binary instead hardcoded one.

9 years agotry mounting /usr before switchroot
Elan Ruusamäe [Mon, 23 Mar 2015 10:06:39 +0000 (12:06 +0200)]
try mounting /usr before switchroot

9 years agosearch binaries from multiple initrd dirs 12749
Elan Ruusamäe [Wed, 25 Feb 2015 21:57:37 +0000 (23:57 +0200)]
search binaries from multiple initrd dirs

9 years agoadd x32 ld-linux
Elan Ruusamäe [Wed, 25 Feb 2015 21:57:11 +0000 (23:57 +0200)]
add x32 ld-linux

9 years agox32 install fix
Elan Ruusamäe [Wed, 25 Feb 2015 21:56:22 +0000 (23:56 +0200)]
x32 install fix

install stuff to original path, don't try to move all to /lib*

9 years agoabort initrd generation if compress tool is not found
Elan Ruusamäe [Wed, 25 Feb 2015 18:54:28 +0000 (20:54 +0200)]
abort initrd generation if compress tool is not found

9 years agoSupport discard/allow-discard cryptsetup LUKS option. Replace deprecated luksOpen...
Arkadiusz Miśkiewicz [Wed, 26 Nov 2014 20:37:35 +0000 (21:37 +0100)]
Support discard/allow-discard cryptsetup LUKS option. Replace deprecated luksOpen with current method.

9 years agobtrfs module needs libcrc32c functionality. 12744
Arkadiusz Miśkiewicz [Sat, 8 Nov 2014 19:57:21 +0000 (20:57 +0100)]
btrfs module needs libcrc32c functionality.

9 years agoDon't hide errors.
Arkadiusz Miśkiewicz [Mon, 13 Oct 2014 15:26:31 +0000 (17:26 +0200)]
Don't hide errors.

9 years agoSupport for 3.18.x kernel compressed modules.
Arkadiusz Miśkiewicz [Mon, 13 Oct 2014 15:25:23 +0000 (17:25 +0200)]
Support for 3.18.x kernel compressed modules.

9 years agoActually newline is needed in initial mdev.seq.
Arkadiusz Miśkiewicz [Fri, 29 Aug 2014 21:27:00 +0000 (23:27 +0200)]
Actually newline is needed in initial mdev.seq.

9 years agoEnable antirace mdev feature.
Arkadiusz Miśkiewicz [Fri, 29 Aug 2014 21:20:25 +0000 (23:20 +0200)]
Enable antirace mdev feature.

10 years agoLoad configured font and do it early.
Arkadiusz Miśkiewicz [Mon, 9 Jun 2014 09:19:10 +0000 (11:19 +0200)]
Load configured font and do it early.

10 years agoShow real command in error message.
Arkadiusz Miśkiewicz [Wed, 21 May 2014 09:14:24 +0000 (11:14 +0200)]
Show real command in error message.

10 years agoInstall 95-dm-notify.rules. Fixes problems with using dmcrypt and errors (in debug...
Arkadiusz Miśkiewicz [Wed, 14 May 2014 17:05:42 +0000 (19:05 +0200)]
Install 95-dm-notify.rules. Fixes problems with using dmcrypt and errors (in debug mode) like 'Udev cookie 0xd4dc311 (semid 229380) waiting for zero'

10 years agohelp tag making with git shortlog hint 12736
Elan Ruusamäe [Wed, 14 May 2014 07:08:23 +0000 (10:08 +0300)]
help tag making with git shortlog hint

10 years agoAdd missing fi.
Arkadiusz Miśkiewicz [Wed, 14 May 2014 06:20:49 +0000 (08:20 +0200)]
Add missing fi.

10 years agoinitrd_gen_setrootdev: retry ls -l for busybox 1.22, avoid writing 0 to real-root-dev
Elan Ruusamäe [Tue, 13 May 2014 21:21:16 +0000 (00:21 +0300)]
initrd_gen_setrootdev: retry ls -l for busybox 1.22, avoid writing 0 to real-root-dev

10 years agodo not write real-root-dev, if value to be written is 0
Elan Ruusamäe [Tue, 13 May 2014 21:08:09 +0000 (00:08 +0300)]
do not write real-root-dev, if value to be written is 0

10 years agohandle only firmware add requests
Elan Ruusamäe [Tue, 13 May 2014 20:52:15 +0000 (23:52 +0300)]
handle only firmware add requests

similar fix as in rc-scripts
http://git.pld-linux.org/?p=projects/rc-scripts.git;a=commitdiff;h=5a873f5d5eda4af38c2cc889fd6923e654188c17

10 years agolocal dir variable
Elan Ruusamäe [Tue, 13 May 2014 20:47:16 +0000 (23:47 +0300)]
local dir variable

10 years agouse fixed DESTDIR in verbose logs
Elan Ruusamäe [Tue, 13 May 2014 20:42:24 +0000 (23:42 +0300)]
use fixed DESTDIR in verbose logs

10 years agoHandle rootflags= option. Leave support for (invalid) rootfsflags= option.
Arkadiusz Miśkiewicz [Fri, 11 Apr 2014 08:00:37 +0000 (10:00 +0200)]
Handle rootflags= option. Leave support for (invalid) rootfsflags= option.

10 years agoRun cryptsetup with --debug when debuginitrd specified. Add debugshell before cryptse...
Arkadiusz Miśkiewicz [Mon, 24 Feb 2014 07:45:34 +0000 (08:45 +0100)]
Run cryptsetup with --debug when debuginitrd specified. Add debugshell before cryptsetup runs.

10 years agoDisallow expansion.
Arkadiusz Miśkiewicz [Sat, 1 Feb 2014 13:31:52 +0000 (14:31 +0100)]
Disallow expansion.

10 years agocleanup unused FILES variable
Elan Ruusamäe [Fri, 17 Jan 2014 22:00:31 +0000 (00:00 +0200)]
cleanup unused FILES variable

10 years agohandle bcache as rootfs. test: root=LABEL=/ worked
Elan Ruusamäe [Thu, 16 Jan 2014 23:15:04 +0000 (01:15 +0200)]
handle bcache as rootfs. test: root=LABEL=/ worked

10 years agoclean cvs leftover
Elan Ruusamäe [Thu, 16 Jan 2014 22:56:06 +0000 (00:56 +0200)]
clean cvs leftover

10 years agoadd bcache support; depends on udev
Elan Ruusamäe [Thu, 16 Jan 2014 21:20:46 +0000 (23:20 +0200)]
add bcache support; depends on udev

10 years agoadd messages to dmesg about geninitrd startup and when it switches root
Elan Ruusamäe [Thu, 16 Jan 2014 21:03:52 +0000 (23:03 +0200)]
add messages to dmesg about geninitrd startup and when it switches root

10 years agoall find_modules() calls needs to be before modules_add_linuxrc
Elan Ruusamäe [Thu, 16 Jan 2014 20:45:33 +0000 (22:45 +0200)]
all find_modules() calls needs to be before modules_add_linuxrc

10 years agoupdate release instructions
Elan Ruusamäe [Sun, 5 Jan 2014 17:26:32 +0000 (19:26 +0200)]
update release instructions

10 years agoput version into release tarball 12719
Elan Ruusamäe [Thu, 26 Dec 2013 15:06:20 +0000 (17:06 +0200)]
put version into release tarball

10 years agodrop rcsid stuff; not functional with git
Elan Ruusamäe [Thu, 26 Dec 2013 14:55:18 +0000 (16:55 +0200)]
drop rcsid stuff; not functional with git

10 years agocreate release tags as: version+number of commits
Elan Ruusamäe [Wed, 25 Dec 2013 13:40:40 +0000 (15:40 +0200)]
create release tags as: version+number of commits

10 years agocleanup after make dist
Elan Ruusamäe [Wed, 25 Dec 2013 10:29:01 +0000 (12:29 +0200)]
cleanup after make dist

10 years agoadd noudevsync to vgchange to avoid lockups (it never completes)
Elan Ruusamäe [Tue, 24 Dec 2013 10:51:32 +0000 (12:51 +0200)]
add noudevsync to vgchange to avoid lockups (it never completes)

10 years agoavoid syntax error
Elan Ruusamäe [Tue, 24 Dec 2013 01:24:51 +0000 (03:24 +0200)]
avoid syntax error

10 years agoExtra call to make device nodes for non lvm2-initrd (dynamic lvm2)
Elan Ruusamäe [Tue, 24 Dec 2013 01:20:44 +0000 (03:20 +0200)]
Extra call to make device nodes for non lvm2-initrd (dynamic lvm2)

10 years agoavoid ls -l errors if ROOT is unset
Elan Ruusamäe [Tue, 24 Dec 2013 01:04:59 +0000 (03:04 +0200)]
avoid ls -l errors if ROOT is unset

10 years agomake tarball based on git describe
Elan Ruusamäe [Tue, 24 Dec 2013 00:56:06 +0000 (02:56 +0200)]
make tarball based on git describe

10 years agofix make dist for git
Elan Ruusamäe [Tue, 24 Dec 2013 00:52:50 +0000 (02:52 +0200)]
fix make dist for git

10 years agouse NAME macro
Elan Ruusamäe [Tue, 24 Dec 2013 00:51:58 +0000 (02:51 +0200)]
use NAME macro

10 years agofix refentry2man typo
Elan Ruusamäe [Tue, 24 Dec 2013 00:50:30 +0000 (02:50 +0200)]
fix refentry2man typo

10 years agotry to parse rootdev from /proc/partitions using /proc/sys/kernel/real-root-dev
Elan Ruusamäe [Tue, 24 Dec 2013 00:30:49 +0000 (02:30 +0200)]
try to parse rootdev from /proc/partitions using /proc/sys/kernel/real-root-dev

10 years agodo not attempt to mknod if $maj and $min missing
Elan Ruusamäe [Tue, 24 Dec 2013 00:26:40 +0000 (02:26 +0200)]
do not attempt to mknod if $maj and $min missing

10 years agosleep before switch_root is about to fail
Elan Ruusamäe [Tue, 24 Dec 2013 00:23:20 +0000 (02:23 +0200)]
sleep before switch_root is about to fail

as "exec" never returns, switch_root will be last command on initrd
and also as switch_root needs to be ran as pid 1, there's no other way
than to sleep before switch_root followed by kernel panic

10 years agoinclude initrd generate date into linuxrc
Elan Ruusamäe [Mon, 23 Dec 2013 23:30:01 +0000 (01:30 +0200)]
include initrd generate date into linuxrc

10 years agounhide lvm stderr; debugshell at the end of lvm mod
Elan Ruusamäe [Mon, 23 Dec 2013 23:28:16 +0000 (01:28 +0200)]
unhide lvm stderr; debugshell at the end of lvm mod

10 years agofix tag pushing in make-tag.sh
Kacper Kornet [Mon, 11 Nov 2013 16:47:30 +0000 (17:47 +0100)]
fix tag pushing in make-tag.sh

10 years agoupdate release procedure to git
Kacper Kornet [Sat, 2 Nov 2013 22:57:51 +0000 (23:57 +0100)]
update release procedure to git

10 years agodon't track ChangeLog
Kacper Kornet [Sat, 2 Nov 2013 22:54:04 +0000 (23:54 +0100)]
don't track ChangeLog

It is generated from scratch during every release process so there is no
sense to track it in git.

10 years agoadd .gitignore based on svn:ignore
Kacper Kornet [Sat, 2 Nov 2013 21:11:00 +0000 (21:11 +0000)]
add .gitignore based on svn:ignore

10 years agoSwitch udev on by default.
Arkadiusz Miśkiewicz [Tue, 24 Sep 2013 11:25:52 +0000 (11:25 +0000)]
Switch udev on by default.

svn-id: @12723

10 years agoAlso load crct10dif-pclmul (hw optimized version).
Arkadiusz Miśkiewicz [Sat, 20 Jul 2013 19:57:35 +0000 (19:57 +0000)]
Also load crct10dif-pclmul (hw optimized version).

svn-id: @12711

10 years agoPreload crct10dif module when crc-t10dif is going to be loaded (uses its symbols...
Arkadiusz Miśkiewicz [Thu, 18 Jul 2013 19:55:36 +0000 (19:55 +0000)]
Preload crct10dif module when crc-t10dif is going to be loaded (uses its symbols without hard dependency).

svn-id: @12710

10 years agoRelease 12695. 12695
Arkadiusz Miśkiewicz [Tue, 2 Jul 2013 19:52:43 +0000 (19:52 +0000)]
Release 12695.

svn-id: @12696

11 years agoumount_all: try to move pseudo filesystems to newroot if possible
Elan Ruusamäe [Thu, 30 May 2013 23:14:32 +0000 (23:14 +0000)]
umount_all: try to move pseudo filesystems to newroot if possible

thus preserving the mounts

svn-id: @12685

11 years agoLoad ehci_platform, too. Load xhci as last (follow dracut way).
Arkadiusz Miśkiewicz [Thu, 25 Apr 2013 07:20:17 +0000 (07:20 +0000)]
Load ehci_platform, too. Load xhci as last (follow dracut way).

svn-id: @12655

11 years agoHandle ehci_pci module, too (this whole function is crap).
Arkadiusz Miśkiewicz [Thu, 25 Apr 2013 07:02:05 +0000 (07:02 +0000)]
Handle ehci_pci module, too (this whole function is crap).

svn-id: @12654

11 years agoLoad virtio_pci and virtio_mmio bus drivers when virtio_blk or virtio_scsi is requested.
Arkadiusz Miśkiewicz [Tue, 23 Apr 2013 12:18:59 +0000 (12:18 +0000)]
Load virtio_pci and virtio_mmio bus drivers when virtio_blk or virtio_scsi is requested.

svn-id: @12653

11 years agodebuginitrd: Show proc partitions if our awk magic fails.
Arkadiusz Miśkiewicz [Sat, 13 Apr 2013 22:09:25 +0000 (22:09 +0000)]
debuginitrd: Show proc partitions if our awk magic fails.

svn-id: @12652

11 years agoShow last 20 dmesg lines just before switch_root when using debuginitrd.
Arkadiusz Miśkiewicz [Sat, 13 Apr 2013 21:57:50 +0000 (21:57 +0000)]
Show last 20 dmesg lines just before switch_root when using debuginitrd.

svn-id: @12651

11 years agoWarn if 'resume device' option doesn't exist in /etc/suspend.conf.
Arkadiusz Miśkiewicz [Thu, 28 Mar 2013 12:34:13 +0000 (12:34 +0000)]
Warn if 'resume device' option doesn't exist in /etc/suspend.conf.

svn-id: @12642

11 years agoVersion 12639. 12639
Arkadiusz Miśkiewicz [Thu, 21 Mar 2013 07:53:58 +0000 (07:53 +0000)]
Version 12639.

svn-id: @12640

11 years agoUse PLD-like uid/gid and permissions for mdev created devices. Add some device nodes.
Arkadiusz Miśkiewicz [Thu, 21 Mar 2013 07:42:40 +0000 (07:42 +0000)]
Use PLD-like uid/gid and permissions for mdev created devices. Add some device nodes.

svn-id: @12639

11 years agoSet permission for every mknode call.
Arkadiusz Miśkiewicz [Thu, 21 Mar 2013 07:30:24 +0000 (07:30 +0000)]
Set permission for every mknode call.

svn-id: @12638

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

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