summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-27 18:08:51 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:40 +0100
commit492c2876ac54eb73e43d6e37699aeb27d05bbe65 (patch)
tree188b3c0df665ef33c6b5686da27c9fcc74c109e2
parent0073da16b188c5fab4b5b2102a8cbbb763214d17 (diff)
downloadvyos-live-build-492c2876ac54eb73e43d6e37699aeb27d05bbe65.tar.gz
vyos-live-build-492c2876ac54eb73e43d6e37699aeb27d05bbe65.zip
Replacing Chroot(); call for removing the udev persistent-net rules with a direct rm call to avoid beeing expanded by the shell based on the build systems files.
-rwxr-xr-xhelpers/lh_chroot_hacks2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index 4ea2b8773..a2021798c 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -43,7 +43,7 @@ Check_lockfile .lock
Create_lockfile .lock
# Removing udev mac caching rule
-Chroot "rm -f /etc/udev/rules.d/*persistent-net.rules"
+rm -f chroot/etc/udev/rules.d/*persistent-net.rules
case "${LH_BINARY_IMAGES}" in
net)