Age | Commit message (Collapse) | Author | Files | Lines |
|
- Remove default -9 compression (FS#20954)
- Make compressor options configurable
- Add xz support and make sure xz uses crc32 checks
|
|
Fixes FS#21314
|
|
This fixes FS#22821.
|
|
This reverts commit 9ef825cedd8228957f9bdd8df7ae543afd7e0001.
The introduced change was inconsistent with the standard 'mount' behaviour and
caused lots of confusion among LVM users.
|
|
|
|
|
|
|
|
|
|
This addresses FS#20638, where gen_init_cpio fails, but the pipeline
still reports no error because gzip exits successfully. Setting pipefail
insures that if anything goes wrong with gen_init_cpio, the operation is
deemed a failure and the user isn't unknowingly left with a faulty
initcpio.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Saves a process invocation per kernel module. Based on work presented in
FS#18347, and fixed to ensure we are using the install utility rather than
our defined function.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
It seems ash follows symlinks with -b.
|
|
Add a sleepdevice= parameter that will watch for the specified device to
appear and then move on. This is more flexible than a defined sleep period
and prevents needless waiting if the device appears sooner.
Original patch by: Dan McGee <dan@archlinux.org>
|
|
This saves a find and grep call for every module that is added more than
once, which can lead to significant savings in image generation time.
Generating a fallback image went from 80 seconds to 60 seconds after
this patch.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is what we currently use in makepkg for the same purpose.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Rather than go through all the hoops, check if the module has already
been added by looking for its file path and skip the addition early if
we can. This helps especially in modules with many recursive
dependencies, and is most noticable when generating a full image with
many modules.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Replace all of the repeated calls to dirname and basename with our new
replacments. Also replace the 'grep ... /dev/null' idiom with calls to
'grep -q', which does exactly what we want.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Replace common behavior we had in some other places with
get_module_name, and add some basename/dirname replacements done in bash
to avoid the forks for the number of times we call these functions.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This makes a bit more organizational sense to keep these first before we
dive into the more complicated functions.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
We used to expect only .ko as a kernel module name. Also accept .ko.gz,
so we can reduce the installed size of the kernel26 package.
|
|
|
|
|
|
|
|
This is the counterpart to a similar patch to initscripts, making sure that the change applies regardless of whether initrd is used.
Thanks to David Reisner for pointing out that this was needed.
|
|
Fixes FS#19666
|
|
If a symlink such as /dev/disk/by-uuid/xxxxx is provided on the kernel cmdline,
resolve it and mount that device instead of the symlink. This prevents some
ugliness in the output of commands such as mount or df.
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
|
|
|
|
These devices might be actually needed before (dev)tmpfs is mounted,
for example when uvesafb is built into the kernel (no module). By
creating them in the image, they will be present as soon as initramfs
has been extracted. Fixes https://bugs.archlinux.org/task/19903.
|
|
install/memdisk
|
|
|
|
This rule creates /dev/memdisk if a memdisk has been found.
|
|
This hook creates a block device for virtual disks created
by memdisk (http://syslinux.zytor.com/wiki/index.php/MEMDISK).
|
|
All it does for now is cause a Btrfs scan so we can mount multi-device
volumes.
|
|
Replace some seds with tr and bash pattern removal
|
|
Needed to get libcrc32c and therefore btrfs to work. Also remove the
equivalent section in autodetect, which wasn't working anyway.
|
|
This error went unnoticed after auto_modules was switched over to
resolve-modalias. As a result, ata_generic and ide-generic weren't
filtered anymore.
|
|
|
|
These devices used to be present because they were added in the image.
Since we now mount {dev,}tmpfs early in initramfs, the devices from
the image will be invisible. In the tmpfs-case, create the devices
manually so everything will be in order until udev is started, or
if udev isn't used at all.
|
|
|
|
persistent storage rules
|
|
|
|
before switch_root
|
|
the real root
|
|
|
|
|
|
remove more eval hacks
|
|
Patch was provided by Mark (voidzero) in https://bugs.archlinux.org/task/19109
This requires busybox commit http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2
which is in the 1.7 branch, a backport will be included in an updated mkinitcpio-busybox package
|
|
In this way, remove eval hacks and enviroments vars, just use blkid
syntax.
I guess in this way will fix/hide "command not found" when fstype
is not property setup in fs, reported by some users.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|