From 71071bb309415fa55d49f67ba5a0a7daaa87a420 Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 20 Dec 2023 07:27:47 +0100 Subject: [PATCH] Begin to work on a script to generate a initramfs with systemd --- manual-build/create-initramfs.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 manual-build/create-initramfs.sh diff --git a/manual-build/create-initramfs.sh b/manual-build/create-initramfs.sh new file mode 100755 index 0000000..84d5cf6 --- /dev/null +++ b/manual-build/create-initramfs.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +buildroot=".new_initramfs" + +mkdir -p ${buildroot}/usr/{bin,lib/{binfmt.d,credstore,cryptsetup,environment.d,initcpio/{hooks,install},kernel/install.d,modprobe.d,modules-load.d,pam.d,pcrlock.d,security,sysctl.d,systemd/{boot/efi,catalog,network,ntp-units.d,portable/profile/,repart/definitions,system-{generators,preset,shutdown,sleep},system,user{,-preset,-{,environment-}generators}},sysusers.d,tmpfiles.d,udev/{hwdb.d,rules.d}},share/{bash-completion/completions,dbus-1/{interfaces,{system-,}services,system.d},doc/systemd/LICENSES,factory/etc/pam.d,libalpm/{hooks,scripts},locale,man/{man1,man5,man7,man8},pkgconfig,polkit-1/{actions,rules.d},systemd/{bootctl,gatewayd},zsh/site-functions}} + +exit 0 \ No newline at end of file