[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH initramfs-tools 0/2] New workaround for noexec temporary directory



This series replaces the old workaround for noexec temporary directories
(defer dependency checking to boot time) with a workaround that is used
unconditionally and always generates ORDER files at build time.

This removes the incompatibility of noexec with boot script names
containing '.' or '-', and should make booting slightly faster when the
initramfs is built using a noexec temporary directory.

(Several of those incompatible boot scripts do still exist, by the way:

bilibop-lockfs:              usr/share/initramfs-tools/scripts/init-top/bilibop-lockfs
bilibop-lockfs:              usr/share/initramfs-tools/scripts/local-bottom/bilibop-lockfs
bilibop-rules:               usr/share/initramfs-tools/scripts/local-bottom/bilibop-rules
cloud-initramfs-dyn-netconf: usr/share/initramfs-tools/scripts/init-top/cloud-initramfs-dyn-netconf
cloud-initramfs-dyn-netconf: usr/share/initramfs-tools/scripts/init-bottom/cloud-initramfs-dyn-netconf 
debian-edu-config:           usr/share/initramfs-tools/scripts/nfs-bottom/before-ltsp
kxc:                         usr/share/initramfs-tools/scripts/init-premount/kxc-premount-net

)

Ben.

Ben Hutchings (2):
  Always generate ORDER files in mkinitramfs
  Move get_source, set_initlist, get_prereq_pairs, call_scripts to
    hook-functions

 hook-functions    | 104 ++++++++++++++++++++++++++++++++
 mkinitramfs       |  17 +-----
 scripts/functions | 175 +-----------------------------------------------------
 3 files changed, 109 insertions(+), 187 deletions(-)


-- 
Ben Hutchings
Any sufficiently advanced bug is indistinguishable from a feature.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: