summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
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 /helpers/lh_chroot_hacks
parent0073da16b188c5fab4b5b2102a8cbbb763214d17 (diff)
downloadlive-build-492c2876ac54eb73e43d6e37699aeb27d05bbe65.zip
live-build-492c2876ac54eb73e43d6e37699aeb27d05bbe65.tar.gz
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.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-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 4ea2b87..a202179 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)