summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2024-02-25 19:34:06 +0100
committerHolger Paradies <retabell@gmx.de>2024-02-25 19:34:06 +0100
commite70ddda36cbe10b2d1a4698c6e98d277ec0fc759 (patch)
treea239bbb857f1d08226ffdbaf66a93eb5faf055e7
parentf29acd7e353508ad6b1cfc419315ebb6ebd90960 (diff)
downloadkanotix-e70ddda36cbe10b2d1a4698c6e98d277ec0fc759.zip
kanotix-e70ddda36cbe10b2d1a4698c6e98d277ec0fc759.tar.gz
Have apt update in chroot
Provide updated apt-cache
-rwxr-xr-xconfig/chroot_local-hooks/01-apt-get-update6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/01-apt-get-update b/config/chroot_local-hooks/01-apt-get-update
new file mode 100755
index 0000000..936697c
--- /dev/null
+++ b/config/chroot_local-hooks/01-apt-get-update
@@ -0,0 +1,6 @@
+#!/bin/sh
+for file in /root/config/*; do [ -r $file ] && . $file; done
+
+
+# have proper cache
+apt-get update