Commit Graph

168 Commits (master)

Author SHA1 Message Date
Fabio Erculiani d8af91e3e8 linuxrc: move modules initialization code to modules_init
12 years ago
Fabio Erculiani f1f04247f4 linuxrc: move splash initialization to splash_init()
12 years ago
Fabio Erculiani 7048779cbc linuxrc: remove bogus comments
12 years ago
Fabio Erculiani bbd4283b07 linuxrc: remove pointless comments
12 years ago
Fabio Erculiani 5908a425f4 linuxrc: remove deprecated dolvm2 boot parameter
12 years ago
Fabio Erculiani ecdb16659b linuxrc: move zfs initialization code to zfs_init() in initrd.scripts
12 years ago
Fabio Erculiani 4559ecca82 defaults: fix code style
12 years ago
Fabio Erculiani 36d21e9a5f defaults: drop trailing whitespaces
12 years ago
Richard Yao 755798b933 Workaround busybox modprobe's inability to load ZFS modules
12 years ago
Richard Yao 6c0e6f6ee6 Refactor ZFS module load hook
12 years ago
Fabio Erculiani 39cb3a0a16 Revert "linuxrc: add depmod call as workaround for missing modules.dep.bb"
12 years ago
Fabio Erculiani ece907ea64 linuxrc: add depmod call as workaround for missing modules.dep.bb
12 years ago
Fabio Erculiani 4b4d3f6d3e initrd.scripts: uniform function names, use the underscore convention
12 years ago
Fabio Erculiani ba0a7ea078 linuxrc: call udevadm settle after modules_load
12 years ago
Fabio Erculiani 06af416264 Kill trailing whitespaces!!!!!
12 years ago
Fabio Erculiani 90da2a1a66 Drop backticks from initramfs code
12 years ago
Fabio Erculiani 734ab6d239 Merge branch 'master' into cleanup-cruft
12 years ago
Fabio Erculiani 08e7dbdfe5 Drop old and no longer working /etc/module_options support
12 years ago
Fabio Erculiani fb6fa7903d Make plymouth ask-for-password work as expected
12 years ago
Fabio Erculiani bea8085444 Introduce initial support to Plymouth
12 years ago
Fabio Erculiani 5d8c6d3873 Use iscsistart from system, don't compile it
12 years ago
Fabio Erculiani 4288a38895 Drop commented out code, cruft of the past
12 years ago
Fabio Erculiani f1487fa8b6 Drop support for unionfs, broken and broken
12 years ago
Fabio Erculiani 4d5e8e4e69 linuxrc: don't try to be too smart wrt resolving REAL_ROOT symlink
12 years ago
Fabio Erculiani 3fec6febc4 genkernel: add simple udev support, include udev into initramfs if --udev
12 years ago
Fabio Erculiani 108f1daf60 linuxrc: run the debug shell multiple times, add a hook before switch_root
12 years ago
Fabio Erculiani 9ead931af1 linuxrc: use "quiet" cmdline argument for a really quiet initramfs initialization
12 years ago
Fabio Erculiani ffa5076fd4 Drop doslowusb and noslowusb boot parameters.
12 years ago
Fabio Erculiani a408d4a513 Drop useless parens in conditionals
12 years ago
Fabio Erculiani 421b210c67 Drop KV_2_6_OR_GREATER
12 years ago
Peter Hjalmarsson e4ab952d63 Add rootflags to switches we understand
12 years ago
Toralf Förster 543181ebef Fix non-functional init_opts parameter, bug #422471
12 years ago
Robin H. Johnson 32a9b007bf linuxrc: part keyword
12 years ago
Peter Hjalmarsson 7e224199ff Support using init= on the command line
12 years ago
Robin H. Johnson e6de60283b Bug #286187: Complete multipath support.
12 years ago
Robin H. Johnson bddbeeb887 Bug #351873: More livecd control, and initramfs livecd argument documentation.
12 years ago
Robin H. Johnson 097e88ff46 Attempt to fix bug #421839: missing /run on LiveCD environment.
12 years ago
Dustin Frisch d89f3d59e8 Check for file from real_init=FILE rather than /sbin/init (bug #437080)
12 years ago
Fabio Erculiani f15425841e mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled
13 years ago
Richard Yao 3ef477862d Run mdev -s after modules are loaded
13 years ago
Richard Yao 908a463e07 Support module options set in /etc/module.d, amend cmdline options patch
13 years ago
Dzianis Kahanovich 2bf6b9045d Adding modules cmdline options for genkernel (module.option[=value]).
13 years ago
Richard Yao 65249bbcea Fix bad ZFS case statement, bug #425122
13 years ago
Richard Yao de4751a2d2 Fix rootfs=ZFS infinite loop when no bootfs is set, bug #425120
13 years ago
Kenny Cheng 2413f1f2a3 Add /run to support openrc >=0.10
13 years ago
Sebastian Pipping aed52e8382 Support bind mounts from /etc/initramfs.mounts (bug #418463)
13 years ago
Sebastian Pipping 0fa71ef46c Fix call to blkid of util-linux
13 years ago
Richard Yao 6968584a58 Improve ZFS diagnostics, import and mounting
13 years ago
Richard Yao 51ad5c92ab Serialize hotplug events to mimic udev
13 years ago
Sebastian Pipping a7fbf76f7b Make sure the previous move of cd commands cannot result in unexpected regressions
13 years ago
Richard Yao 69009cb747 Reorder mdev initialization to mimic udev boot
13 years ago
Richard Yao f5f3d6fa87 Enable real_root=ZFS to permit booting off ZFS
13 years ago
Richard Yao 391a9b9969 Move ZFS binary check outside of commandline loop
13 years ago
Sebastian Pipping 8ac8de6055 Fix docache (bug #397309)
13 years ago
Sebastian Pipping 4ed04331a5 Drop into debug shell when squashfs could not be mounted
13 years ago
Sebastian Pipping a13f9efd37 Drop into debug shell when files could not be copied into tmpfs
13 years ago
Sebastian Pipping adefd0fccc Improve handling of missing /etc/fstab
13 years ago
Robin H. Johnson 277259282e Enable live mounting of /usr. Was supposed to have been in 3.4.25.
13 years ago
Robin H. Johnson 995635a2c7
With the new /usr mounting, if the device path that ends up in /proc/mounts ends up being different than in /etc/fstab due to symlinks, mount -a will always exit 32. Avoid by resolving symlinks like util-linux does.
13 years ago
Robin H. Johnson 1077359d86 linuxrc /usr mounting
13 years ago
Richard Yao fc98fa9d89 Implement ZFS Support
13 years ago
Robin H. Johnson ae2a061ca7 Disable the /usr mount code until OpenRC section is ready, so that it goes to read-write properly. It was usable in systemd already...
13 years ago
Robin H. Johnson 603a197839 Code to mount /usr and other filesystems as needed for new udev and systemd.
13 years ago
Christian Kruse c92fe6f0e6 Introduce boot parameter root_trim=(yes|no) for SSDs
13 years ago
Fabio Erculiani 84cc7ccdfb Do not hardcode /mnt/cdrom path across the whole code, use CDROOT_PATH
13 years ago
Robin H. Johnson a487275640 Removing dangling backtick to make script work.
13 years ago
Fabio Erculiani 1e50bd01d2 trivial: cleanup code, drop whitespaces and some more cruft
14 years ago
Fabio Erculiani d6696d0df6 syntax: drop parse_opt usage and crufty, deprecated subshelling through ``
14 years ago
Fabio Erculiani 4d54e7d098 aufs: add basic support to AUFS2, requires kernel with aufs module or built-in
14 years ago
Sebastian Pipping bf0cad6a30 Remove support for sys-fs/evms, as it was removed from Gentoo (bug #372423)
14 years ago
Peter Hjalmarsson eec4397e41 Check content of $REAL_ROOT/dev after we are done with it
14 years ago
Sebastian Pipping e82a8c9985 Document option lvmraid= and make it imply dolvm (bug #153502)
14 years ago
Sebastian Pipping 6a00d8677a Rename internal function whereis to prompt_user
14 years ago
Sebastian Pipping fad624bc41 Add rootfstype= boot parameter (bug #221245)
14 years ago
Peter Hjalmarsson f927ef9b42 Try to move /sys and /proc to the newroot first instead of just unmounting.
14 years ago
Peter Hjalmarsson b312056622 Use the same options for proc and sysfs as Gentoo/OpenRC uses
14 years ago
craig 5e07592a75 iBFT: fix iscsi_noibft
14 years ago
craig d9f46bb513 Add iBFT support for iSCSI
14 years ago
Peter Hjalmarsson 398d7ba5ac Use tmpfs if devtmpfs is not available
14 years ago
Sebastian Pipping 763fd09bac Remove "-a" from call to umount
14 years ago
Peter Hjalmarsson cb24bedd07 Move dev to chroot
14 years ago
Sebastian Pipping c202dbe67d Resolve unneeded subshell
14 years ago
Peter Hjalmarsson 294ea17506 Use devtpmfs when avaible
14 years ago
Peter Hjalmarsson d1b6b4e9f0 Speed up LVM-activation
14 years ago
Fabio Erculiani 2abd9c2742 Add compatibility with older cmdline setup on console argument
14 years ago
Sebastian Pipping 8b52cccc02 Do not wait for iscsi if we have not started it
14 years ago
Sebastian Pipping 1051223a63 Do no delay if scandelay[=seconds] is not specified (bug #323317 again)
14 years ago
Sebastian Pipping b56020daf6 Propagate fix for ROOT_DEV from bug #303531 to RESUME_DEV and REAL_LUKS
14 years ago
Fabio Erculiani b6b3dab7cd Add minimal btrfs support, as per bug #303529.
14 years ago
Fabio Erculiani 25b5a461ba slowusb: move sleep 10 call after start_dev_mgr.
14 years ago
Fabio Erculiani 51e0b14044 slowusb: ease the code in order to reduce entropy, one place for one thing.
14 years ago
Sebastian Pipping b4f310213e Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855)
14 years ago
devsk e590a493ea Pick first device when several devices are matching real_root (bug #303531)
14 years ago
Sebastian Pipping 532dd7a387 Review and fix some -eq and -ne conditionals
14 years ago
Andrew Gaffney 24446b0465 Add support for isoboot= option (for Gentoo bug #294268)
15 years ago
Andrew Gaffney 2e4e55a6e5 Fix typo for Gentoo bug #294138
15 years ago
craig 88ac383f61 Let iSCSId settle after iscsistart
15 years ago
craig 97b4dc26e2 Improve naming of bootflags, added support for: port, target portal, username, password, username_in, password_in, debug
15 years ago
craig 18d9c84402 Merge branch 'master' of git://git.wolf31o2.org/projs/genkernel
16 years ago
Andrew Gaffney 588ef85661 Apply patch from Gentoo bug #220913 for tuxonice resume
16 years ago