]> git.pld-linux.org Git - projects/geninitrd.git/log
projects/geninitrd.git
5 years agotmp is now mounted early, so no need to duplicate. 12787
Arkadiusz Miśkiewicz [Mon, 17 Dec 2018 14:44:14 +0000 (15:44 +0100)]
tmp is now mounted early, so no need to duplicate.

5 years agoUse mdadm instead of mdassemble (since mdadm 4.1 dropped mdassemble).
Arkadiusz Miśkiewicz [Mon, 17 Dec 2018 14:43:55 +0000 (15:43 +0100)]
Use mdadm instead of mdassemble (since mdadm 4.1 dropped mdassemble).

5 years agoMechanism for waiting until devices are available (wired for mod-md for now). Bit...
Arkadiusz Miśkiewicz [Mon, 17 Dec 2018 14:21:11 +0000 (15:21 +0100)]
Mechanism for waiting until devices are available (wired for mod-md for now). Bit ugly but working.

5 years agoFix condition for --debug mode which adds additional text after 'inactive' text.
Arkadiusz Miśkiewicz [Tue, 14 Aug 2018 12:08:52 +0000 (14:08 +0200)]
Fix condition for --debug mode which adds additional text after 'inactive' text.

5 years agoInclude more modules for luks. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug...
Arkadiusz Miśkiewicz [Tue, 14 Aug 2018 11:57:58 +0000 (13:57 +0200)]
Include more modules for luks. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809686#10

5 years agocryptsetup needs /var/run/cryptsetup dir.
Arkadiusz Miśkiewicz [Tue, 14 Aug 2018 11:32:41 +0000 (13:32 +0200)]
cryptsetup needs /var/run/cryptsetup dir.

5 years agolibpthread dlopens libgcc_s.so.1, so install it.
Arkadiusz Miśkiewicz [Tue, 14 Aug 2018 11:09:55 +0000 (13:09 +0200)]
libpthread dlopens libgcc_s.so.1, so install it.

5 years agoDrop forced luks type as latest tools support luks2, too. Leave it for cryptsetup...
Arkadiusz Miśkiewicz [Mon, 13 Aug 2018 20:49:31 +0000 (22:49 +0200)]
Drop forced luks type as latest tools support luks2, too. Leave it for cryptsetup autodetection.

5 years agoramdisk_size warning makes no sense for initramfs.
Arkadiusz Miśkiewicz [Fri, 10 Aug 2018 08:40:59 +0000 (10:40 +0200)]
ramdisk_size warning makes no sense for initramfs.

5 years agoext4 can use crc32 but has it in softdep only
Arkadiusz Miśkiewicz [Fri, 4 May 2018 13:50:18 +0000 (15:50 +0200)]
ext4 can use crc32 but has it in softdep only

6 years agoAdd support for zstd(.spec) compression.
Arkadiusz Miśkiewicz [Mon, 13 Nov 2017 09:29:41 +0000 (10:29 +0100)]
Add support for zstd(.spec) compression.

7 years agowarn about btrfs not fully supported by geninitrd
Tomasz Pala [Mon, 29 Aug 2016 20:32:32 +0000 (22:32 +0200)]
warn about btrfs not fully supported by geninitrd

Before mounting multidevice btrfs filesystem, `btrfs device scan' needs to
be executed, otherwise filesystem won't mount. Without the btrfs binary,
one might instruct kernel in command line insted, but this is also not
supported (blkid finds single device only). Since there is dracut, just
notice user about this shortcoming, so he could properly configure
bootloader by manually appending appropriate devices when needed.

7 years agoRevert "revert bogus commit"
Tomasz Pala [Mon, 29 Aug 2016 17:31:57 +0000 (19:31 +0200)]
Revert "revert bogus commit"

This 'formatting fuckup' was the point for saving scrollback buffer.
As you probably don't put it together, issuing debuginitrd throws all that function
contents to your face during boot.

This reverts commit 9d45e9b492b0114bf5a536918b5ca511e8c5dcef.

7 years agorevert bogus commit
Elan Ruusamäe [Mon, 15 Aug 2016 20:43:06 +0000 (23:43 +0300)]
revert bogus commit

no actual change recorded, instead some formatting fuckup

Revert "save 19 lines of debug output (debugrd)"

This reverts commit 6ed0f7b1ebdba0a6aaed765e3f4c293ac09f975b.

7 years agosave 19 lines of debug output (debugrd)
Tomasz Pala [Sun, 14 Aug 2016 20:01:15 +0000 (22:01 +0200)]
save 19 lines of debug output (debugrd)

7 years agosave precious scrollback buffer contents when data can be fetched later
Tomasz Pala [Sun, 14 Aug 2016 18:10:24 +0000 (20:10 +0200)]
save precious scrollback buffer contents when data can be fetched later

7 years agohid-generic required as well
Tomasz Pala [Sun, 14 Aug 2016 15:54:37 +0000 (17:54 +0200)]
hid-generic required as well

7 years agonewer platforms use xHCI, newer kernels require PCI over HCD modules
Tomasz Pala [Sun, 14 Aug 2016 10:03:51 +0000 (12:03 +0200)]
newer platforms use xHCI, newer kernels require PCI over HCD modules
https://marc.info/?l=git-commits-head&m=141276811802511&w=2

7 years agogit tag -l
Elan Ruusamäe [Wed, 29 Jun 2016 19:58:16 +0000 (22:58 +0300)]
git tag -l

"git tags" was my local alias i didn't even realize it's not git builtin :)

7 years agouse git-for-each-ref to find last tag
Elan Ruusamäe [Wed, 29 Jun 2016 19:55:58 +0000 (22:55 +0300)]
use git-for-each-ref to find last tag

omits two commands from pipeline

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

7 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).

7 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.

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

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

7 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.

8 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.

9 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.

9 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.

9 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'

9 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

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

9 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

9 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

9 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

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

9 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

10 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

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