Skip to content
Snippets Groups Projects
Commit 5f0bb44c authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

rootfs_remaster: allow to override/adapt sysctl

All files placed in contrib/rootfs/sysctl.d/ will be copied to
/etc/sysctl.d in the rootfs as is.
parent 7c124fad
Branches
Tags
No related merge requests found
......@@ -124,6 +124,11 @@ function copy_modprobe_d()
update-initramfs -u
}
function copy_sysctl_d()
{
cp -r "$SCRIPT_DIR/contrib/sysctl.d/" "/etc/sysctl.d/"
}
function hold_packages()
{
for PKG in $@; do
......@@ -146,6 +151,7 @@ hold_packages $PKGS_TO_HOLD
prepare_install
copy_modprobe_d
copy_sysctl_d
install_packages
install_kde_defaults
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment