diff --git a/bin/initoverlayfs-install b/bin/initoverlayfs-install index 5f2616f..2e64bb5 100755 --- a/bin/initoverlayfs-install +++ b/bin/initoverlayfs-install @@ -6,7 +6,7 @@ set -ex CAT="lz4cat" INITRAMFS_DIR="" -INITOVERLAYFS_CONF="/etc/initoverlayfs.conf" +INITOVERLAYFS_CONF="/usr/local/etc/initoverlayfs.conf" INITRAMFS_DUMP_DIR="/var/lib/initoverlayfs" # Only erofs-based initoverlayfs supported, ext4, btrfs, xfs, etc. to be implemented" diff --git a/scripts/build.sh b/scripts/build.sh index cd97c8f..76138fc 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -77,6 +77,8 @@ install() { inst_multiple -o \ "$systemdsystemunitdir"/mount-sysroot.service \ "$systemdsystemunitdir"/sysinit.target.wants/mount-sysroot.service + + inst_simple "/usr/local/etc/initoverlayfs.conf" "/etc/initoverlayfs.conf" } EOF