Age | Commit message (Collapse) | Author | Files | Lines |
|
CONFIG_BUSYBOX_EXEC_PATH="/bin/busybox" in busybox
|
|
Remove klibc-isms from base and init (except kinit, which will be done in a later commit)
Install busybox to the initramfs and change /init so it can be used with busybox
|
|
984cbd4eb023001668eea530e2b5ed2e57ba3693 and depend on bash
There was no proper upgrade path for these changes. This can be reconsidered once a clean upgrade path is provided.
Compatibility with non-bash shells is not as important as backwards-compatibility of existing configurations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and make it more reliable
The old implementation failed on bash and failed on both if rootdelay was not a number.
The logic is now as follows:
If "$rootdelay"="", then [ -z "${rootdelay}" ] is true
If not, then the part after the || is executed - if ${rootdelay} is not a number, or is <0, then [ ${rootdelay} -ge 0 ] fails,
and the test will return true due to the !. The previous implementation failed here, because [ ! ${rootdelay} -ge 0 ] returns false
on error, while ! [ ${rootdelay} -ge 0 ] returns true on error.
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
This also removes occurances of FIXME in the page.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
PRESETS should be defined as a string in all mkinitcpio preset files
for compatibility with dash.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
See `man dash`
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
$UID isn't set by default in dash.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
|
|
|
|
usb-load-ehci-first.conf
|
|
|
|
If we have a symlink, we don't check further if it points to a block device, partially due to klibc's readlink being broken.
|
|
|
|
|
|
|
|
- Set rootdelay to 10 by default
- Skip the whole detection stage if we use root on nfs
- Use the new poll_device function to wait for at most $rootdelay seconds
- Always pass rootdelay=0 to kinit, as we ensure the existence of the root device
- Don't reboot after the fallback. This allows a user to fix a problem and continue booting
- Rely on kinit to detect the root filesystem type. The rootfstype= option can still be used to override
Our old method would have failed as well, as the code for filesystem detection is the same
|
|
duplicate code here
|
|
|
|
|
|
and the hooks
|
|
|
|
|
|
|
|
|
|
|
|
Replace find-exec syntax, using + instead of \;
This is faster (executes cat for all files instead
of once for each file found).
IMPORTANT: This also has the added benefit of fixing
a bash 4.0 bug where $(find ... -exec ... \;) fails
hard. Ugh
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
udev forks some processes, and sometimes minips returns multiple
PIDs. The error messages are annoying, so we'll simply remove them
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
These changes are potential breakers and we are not
fully prepared to test them, nor are they fully usable
just yet. Revert for now.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This was introduced with the switch to resolve-modalias
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Hook's BINARIES settings were being copied from the
parent if using an alternate BASEDIR. This should fix
that
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
The install.sh script compresses our man page, but
effectively deletes it. Let's fix that.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|