1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-13 06:57:11 +01:00

Fix init-scripts path for static network config

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2020-03-13 17:04:58 +01:00
parent 1a697b336f
commit 356f4ed018

View file

@ -89,8 +89,8 @@ deploy() {
svc=$(file_path_override "netcfg_static")
if [ ! -z "$svc" ]; then
mkdir -p "$PKGDEPLOYDIR/netcfg"
cp "$svc" "$PKGDEPLOYDIR/netcfg/static"
mkdir -p "$PKGDEPLOYDIR/etc/netcfg"
cp "$svc" "$PKGDEPLOYDIR/etc/netcfg/static"
echo "file etc/netcfg/static 0644 0 0" >> "$PKGDEPLOYDIR/$PKGNAME.files"
fi