Commit Graph

444 Commits (386a0ad5aba95a8ae8377ff78dafb5d12f0dbbaf)

Author SHA1 Message Date
Fabio Erculiani 58669a002c initrd.scripts: move cmdline_hwopts() to 00-modules.sh
12 years ago
Fabio Erculiani 079ee21409 initrd.scripts: move sdelay() to 00-common.sh
12 years ago
Fabio Erculiani 56e9775b53 initrd.d: trivially update code style of quiet_kmsg and verbose_kmsg
12 years ago
Fabio Erculiani 5722d3826e initrd.scripts: move test_success() to 00-common.sh and fix it
12 years ago
Fabio Erculiani fae57916b9 initrd.scripts: move prompt_user() to 00-splash.sh
12 years ago
Fabio Erculiani 547b54238a initrd.scripts: move mount_sysfs to 00-fsdev.sh
12 years ago
Fabio Erculiani fa87394a19 initrd.scripts: move ask_for_password to 00-splash.sh
12 years ago
Fabio Erculiani eb6e9ca066 initrd.scripts: move livecd code to 00-livecd.sh
12 years ago
Fabio Erculiani 4c9f7dce50 initrd.scripts: move quiet_kmsg and verbose_kmsg to 00-common.sh
12 years ago
Fabio Erculiani bb51ba3046 initrd.scripts: refactor devicelist and rename to device_list()
12 years ago
Fabio Erculiani 6b8bde737d initrd.scripts: refactor findmediamount and rename to media_find()
12 years ago
Fabio Erculiani 90b81e9f4b initrd.scripts: drop unused function: uppercase()
12 years ago
Fabio Erculiani bb1e05985c initrd.scripts: move modules functions to 00-modules.sh
12 years ago
Fabio Erculiani 2dffb2c52f initrd.scripts: trivial, fix swsusp_resume() code style
12 years ago
Fabio Erculiani be9870f75a initrd.scripts: trivial, fix setup_squashfs_aufs code style
12 years ago
Fabio Erculiani f51db27a39 initrd.scripts: trivial, wrap comments
12 years ago
Fabio Erculiani 2496e36843 initrd.scripts: simplify rootdev_init() further
12 years ago
Fabio Erculiani 5f9050e1a6 initrd.scripts: refactor setup_real_root and rootdev_init functions
12 years ago
Fabio Erculiani fb3073c7a9 initrd.scripts: improve readability of rootdev_init
12 years ago
Fabio Erculiani 98f264fa20 initrd.scripts: move zfs functions to 00-zfs.sh
12 years ago
Fabio Erculiani 7c2f5828fd initrd.scripts: move mount_devfs() to 00-devmgr.sh
12 years ago
Fabio Erculiani e4742ab0b5 initrd.scripts: move more functions to initrd.d/
12 years ago
Fabio Erculiani 90983b4fd2 initrd.scripts: move splash functions to a separate file
12 years ago
Fabio Erculiani f0775326eb initrd.scripts: refactor start_volumes(), improve readability
12 years ago
Fabio Erculiani 382691d467 initrd.scripts: improve code style of mount_devfs
12 years ago
Fabio Erculiani 231ffd477a initrd.scripts: improve code style of fs_type_in_use
12 years ago
Fabio Erculiani d518964d6a initrd.scripts: improve code style of check_loop if test
12 years ago
Fabio Erculiani 8c70f27a93 initrd.scripts: improve code style of check_loop
12 years ago
Fabio Erculiani 9d043ca938 initrd.scripts: rename findnfsmount to find_nfs
12 years ago
Fabio Erculiani f4b4d6d0d6 initrd.scripts: improve findnfsmount(), simplify code and branches
12 years ago
Fabio Erculiani 7a7e01c47e initrd.scripts: refactor findnfsmount(), improve readability
12 years ago
Fabio Erculiani 3790c6345a initrd.scripts: wrap >80 chars lines in devicelist()
12 years ago
Fabio Erculiani ce1e10241b genkernel: migrate ALL the code to 4-spaces tabs
12 years ago
Fabio Erculiani ebc7806e16 repo: add `make install` support, bundle busybox, bashcomp and initramfs.mounts
12 years ago
Fabio Erculiani 24e26f1b77 initrd.scripts: add more TODOs
12 years ago
Fabio Erculiani bda76debee initrd.scripts: kill tuxonice support with a LOT of fire
12 years ago
Fabio Erculiani 068e7da618 initrd.scripts: add a couple of TODOs
12 years ago
Fabio Erculiani 556f991201 initrd.scripts: fix wording in fstype_init
12 years ago
Fabio Erculiani 1ac43bf8a6 initrd.scripts: use get_device_fstype to execute fstype specific init code
12 years ago
Fabio Erculiani 43a4651da2 initrd.scripts: simplify rootdev_init. Break if conditions for better readability
12 years ago
Fabio Erculiani f5d1084646 initrd.scripts: make rootdev_init use find_real_device
12 years ago
Fabio Erculiani 755eb93994 initrd.scripts: make resume_init use find_real_device
12 years ago
Fabio Erculiani addfa95e96 initrd.scripts: fix find_real_device output
12 years ago
Fabio Erculiani 12af5dfd3a gen_initramfs, initrd.scripts: migrate to /sbin/btrfs
12 years ago
Fabio Erculiani c27d3ac25d initrd.scripts: add get_device_fstype
12 years ago
Fabio Erculiani 9d8560729f linuxrc: trivial, improve code style of linuxrc
12 years ago
Fabio Erculiani a7def21edc linuxrc: drop another /dev (tty1) pointless check
12 years ago
Fabio Erculiani 35443c24ae linuxrc: drop useless /dev nodes check
12 years ago
Fabio Erculiani 5e96e6f7dc linuxrc: move mountpoints move code to move_mounts_to_chroot
12 years ago
Fabio Erculiani afea330cb1 linuxrc: default REAL_INIT to /sbin/init
12 years ago
Fabio Erculiani 682acf0274 linuxrc: improve code style at the end of the file
12 years ago
Fabio Erculiani 68892f5c65 linuxrc: move devmgr termination code to devmgr_terminate
12 years ago
Fabio Erculiani 8ab82e8b23 linuxrc: unbundle is_livecd() from setup_real_root
12 years ago
Fabio Erculiani 0cac67fa67 linuxrc: move livecd mount code to livecd_mount()
12 years ago
Fabio Erculiani 1b282a7c9f initrd.scripts: mount livecd / tmpfs with mode=0755 (instead of 0777)
12 years ago
Fabio Erculiani faf020424d linuxrc: move root device detection/init code to rootdev_init
12 years ago
Fabio Erculiani 37121be638 initrd.scripts: add is_nfs(), replace ${REAL_ROOT} = /dev/nfs checks
12 years ago
Fabio Erculiani 6f6befff99 linuxrc: call ensure_initramfs_mounts after mounting ${REAL_ROOT}
12 years ago
Fabio Erculiani 51a455d49c linuxrc: use is_livecd() rather than ${CDROOT} value check
12 years ago
Fabio Erculiani b0418a0272 initrd.scripts: ensure_initramfs_mounts: check if partition is mounted
12 years ago
Fabio Erculiani 8fa61e098d linuxrc: move /etc/initramfs.mounts handling to a separate function
12 years ago
Fabio Erculiani 7f41ae2800 linuxrc: fix zfs call, subshell call was missing
12 years ago
Fabio Erculiani c0bfc7b123 Revert "linuxrc: do not look for ${REAL_INIT} inside the mounted partition"
12 years ago
Fabio Erculiani 86967ea400 linuxrc: move livecd initialization code to livecd_init()
12 years ago
Fabio Erculiani 3bb6c62bd9 linuxrc: do not look for ${REAL_INIT} inside the mounted partition
12 years ago
Fabio Erculiani af1f319509 linuxrc: move resume initialization code to resume_init()
12 years ago
Fabio Erculiani 3f14137bc0 linuxrc: create is_livecd(), stop doing weird ${CDROOT} comparisons
12 years ago
Fabio Erculiani 3c9f0c6850 linuxrc: break condition for luks and resume apart
12 years ago
Fabio Erculiani f269237602 linuxrc: trivial, use a more compact syntax
12 years ago
Fabio Erculiani 798c45d3da linuxrc: simplify iscsi setup code
12 years ago
Fabio Erculiani 138b1f8492 linuxrc: move the devmgr initialization code to devmgr_init()
12 years ago
Fabio Erculiani 613a7047a1 linuxrc: move REAL_ROOT* setup to setup_real_root()
12 years ago
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 071fff18b1 initrd.scripts: <80 chars
12 years ago
Fabio Erculiani 4559ecca82 defaults: fix code style
12 years ago
Fabio Erculiani 36d21e9a5f defaults: drop trailing whitespaces
12 years ago
Fabio Erculiani 3ec035cccd Remove MODULES_PLYMOUTH
12 years ago
Fabio Erculiani af182ed72a Move gpg executable to /usr/bin/gpg, bug #476276
12 years ago
Richard Yao 755798b933 Workaround busybox modprobe's inability to load ZFS modules
12 years ago
Richard Yao 9bb2beea5b Import pool after ZFS module finishes loading
12 years ago
Richard Yao c188fcedff Add call_func_timeout helper function
12 years ago
Richard Yao 6c0e6f6ee6 Refactor ZFS module load hook
12 years ago
Richard Yao 80c1c1669a Load xhci-plat when available
12 years ago
Fabio Erculiani f1dbe547be busybox: issue a full make menuconfig against busybox 1.21
12 years ago
Fabio Erculiani d5a0bfe470 busybox: switch away from MODPROBE_SMALL, see bug #472312#c27
12 years ago
Fabio Erculiani 39cb3a0a16 Revert "linuxrc: add depmod call as workaround for missing modules.dep.bb"
12 years ago
Fabio Erculiani 7ee24b6776 Revert "initrd.scripts: busybox depmod doesn't support -v even though it declares so"
12 years ago
Richard Yao c408c1942a Build USB 3.0 support by default, bug #452888
12 years ago
Fabio Erculiani f3570c3957 initrd.scripts: busybox depmod doesn't support -v even though it declares so
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 9eb774b02f initrd.scripts: drop whitespaces
12 years ago
Fabio Erculiani 8924ef00ae initrd.scripts: uniform {} style
12 years ago
Fabio Erculiani eae66a8b4b initrd.scripts: drop subshell in setup_squashfs_aufs
12 years ago
Fabio Erculiani 79de6f5fd6 initrd.scripts: text if ${device} is set before messing with /sys/power
12 years ago
Fabio Erculiani ba0a7ea078 linuxrc: call udevadm settle after modules_load
12 years ago
Fabio Erculiani 08cd7890bf Merge branch 'master' into plymouth
12 years ago
Fabio Erculiani 7505a99952 modules_load: do not forcibly load radeon and nouveau, they may kill a system
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 a8f8f754cc Revert "software: hardcode busybox version"
12 years ago
Fabio Erculiani 04fe3fd1f4 software: hardcode busybox version
12 years ago
Fabio Erculiani 4313f7ba20 modules_load: add virtio modules
12 years ago
Fabio Erculiani 8ea38a7db9 modules_load: add MODULES_CRYPT, improve backward compatibility
12 years ago
Fabio Erculiani c29e0ef023 Complete Plymouth integration. Fix the last set of minor bugs
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 5750b8ac63 Use /sbin/gpg from system, don't compile it
12 years ago
Fabio Erculiani 546d990402 Fuse is not used by anything, kill 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 874707d0f7 gen_compile: use MDADM from system
12 years ago
Fabio Erculiani 7e73673abe gen_compile: use DMRAID from system, don't compile our own
12 years ago
Fabio Erculiani 64ea1af0e1 gen_compile: use LVM from system for the initramfs
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 499f2d98b6 Improve speed of bootstrapCD by not calling devicelist unless needed
12 years ago
Fabio Erculiani ffa5076fd4 Drop doslowusb and noslowusb boot parameters.
12 years ago
Fabio Erculiani 682d0b0d0a Drop "sleep 3" from sdelay if CDROOT=1. One can use scandelay=secs if needed.
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
Fabio Erculiani 3a054014e8 Drop our own /sbin/modprobe and use busybox built-in applet instead
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
Fabio Erculiani 30c7284c92 Unquote ${ZPOOL_FORCE} variable usage.
12 years ago
Marek Sapota 3fa1bf680d Bug #378105: UUID/LABEL support for LUKS keydevs
12 years ago
Peter Hjalmarsson 7e224199ff Support using init= on the command line
12 years ago
Robin H. Johnson ec4628ee5e Clean up module drift over the years. Just MODULES_CRYPTO left.
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 4d42bbf35b Bug #336170: amd74xx was long-replaced by pata_amd.
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
Peter Hjalmarsson e779547b72 Make root_trim work with crypt_root_key
13 years ago
Sebastian Pipping d843544c70 Communicate inavailability of keymap #38 better
13 years ago
Sebastian Pipping c5c9ca49f6 Further improve wording in software.sh
13 years ago
Peter Hjalmarsson ec6b2536d8 Make defaults/software.sh not override variables already present
13 years ago
Sebastian Pipping 6d35693a8b Move software version defaults for defaults/software.sh to ease the etc-update game
13 years ago