mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Don't copy the local sysconfig directory.
This commit is contained in:
@@ -82,7 +82,11 @@ else
|
||||
fi
|
||||
|
||||
mkdir -p /newroot/etc/onl
|
||||
cp -R /etc/onl/* /newroot/etc/onl
|
||||
for thing in /etc/onl/*; do
|
||||
if [ $thing != "sysconfig" ]; then
|
||||
cp -R $thing /newroot/etc/onl
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -f /etc/fw_env.config ]; then
|
||||
cat /etc/fw_env.config >/newroot/etc/fw_env.config
|
||||
|
||||
Reference in New Issue
Block a user