Skip to content

Commit

Permalink
initoverlayfs-install: use /usr/loca/etc to conf
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
  • Loading branch information
dougsland committed Mar 8, 2024
1 parent 3749f08 commit 40db340
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/initoverlayfs-install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 40db340

Please sign in to comment.