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
...@@ -124,6 +124,11 @@ function copy_modprobe_d() ...@@ -124,6 +124,11 @@ function copy_modprobe_d()
update-initramfs -u update-initramfs -u
} }
function copy_sysctl_d()
{
cp -r "$SCRIPT_DIR/contrib/sysctl.d/" "/etc/sysctl.d/"
}
function hold_packages() function hold_packages()
{ {
for PKG in $@; do for PKG in $@; do
...@@ -146,6 +151,7 @@ hold_packages $PKGS_TO_HOLD ...@@ -146,6 +151,7 @@ hold_packages $PKGS_TO_HOLD
prepare_install prepare_install
copy_modprobe_d copy_modprobe_d
copy_sysctl_d
install_packages install_packages
install_kde_defaults install_kde_defaults
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment