Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] initoverlayfs-install: use /usr/loca/etc to conf #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have no problem making this /usr/local/etc everywhere if it works, even in initrd

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I am doing some tests here, I will update here as soon I get something working.

}
EOF

Expand Down
Loading