summaryrefslogtreecommitdiffstats
path: root/config/binary_local-hooks
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2015-02-10 16:48:10 +0100
committerTails developers <amnesia@boum.org>2015-02-10 16:48:10 +0100
commit1d8e9f017c6328671faa361f2237a03c78973445 (patch)
tree8186c326eca585af24b680fa91d965d6a363a60e /config/binary_local-hooks
parent0539899a2c192cf923a47bc91d3e6e0a7a2c0a9d (diff)
parent64adfc7df40966f550e078dc06ecb66812ddf51a (diff)
Merge remote-tracking branch 'origin/bugfix/8756-repair-local-packages' into devel
Fix-committed: #8756
Diffstat (limited to 'config/binary_local-hooks')
-rwxr-xr-xconfig/binary_local-hooks/40-include_syslinux_in_ISO_filesystem2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem b/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
index e79fb91..aed5f33 100755
--- a/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
+++ b/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
@@ -41,6 +41,8 @@ cp "$CHROOT_SYSLINUX_BIN" "$LINUX_BINARY_UTILS_DIR/"
cp "$CHROOT_SYSLINUX_MBR" "$BINARY_MBR_DIR/mbr.bin"
cat chroot/etc/apt/sources.list chroot/etc/apt/sources.list.d/*.list \
+ | grep --extended-regexp --line-regexp --invert-match \
+ 'deb\s+file:/root/local-packages\s+\./' \
| sed --regexp-extended -e 's,^deb(\s+),deb-src\1,' \
> "$CHROOT_TEMP_APT_SOURCES"
Chroot chroot apt-get --yes update