summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-15 23:19:33 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:39 +0100
commit8888135805712fa43eee8f20e83522d5000a448c (patch)
tree16fb31423ddf5c609ff45991b6d3540382a06ff6 /helpers/lh_chroot_hacks
parent7e20d93cf5e84ffd3529f43027d525d6a417fde8 (diff)
downloadvyos-live-build-8888135805712fa43eee8f20e83522d5000a448c.tar.gz
vyos-live-build-8888135805712fa43eee8f20e83522d5000a448c.zip
Updating chroot hacks to reflect namechange of the udev persistent rules.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-xhelpers/lh_chroot_hacks4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index af8843760..846a5c844 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/z25_persistent-net.rules"
+Chroot "rm -f /etc/udev/rules.d/*persistent-net.rules"
case "${LH_BINARY_IMAGES}" in
net)
@@ -119,7 +119,7 @@ then
done
# Config files which need to be RW
- COW_FILES="/etc/adjtime /etc/fstab /etc/hostname /etc/hosts /etc/live.conf /etc/network/interfaces /etc/resolv.conf /etc/udev/rules.d/z25_persistent-net.rules /etc/udev/rules.d/z25_persistent-cd.rules' /etc/X11/xorg.conf"
+ COW_FILES="/etc/adjtime /etc/fstab /etc/hostname /etc/hosts /etc/live.conf /etc/network/interfaces /etc/resolv.conf /etc/udev/rules.d/*persistent-net.rules /etc/udev/rules.d/*persistent-cd.rules /etc/X11/xorg.conf"
# Where we will store RW config files
RW_DIRECTORY="/var/lib/live"