summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xscripts/import-local-packages6
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8889604d..9d9576de 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ prepare:
rm -rf build/config/*
@scripts/live-build-config
cp -r data/live-build-config/* build/config/
+ @scripts/import-local-packages
@scripts/make-version-file
diff --git a/scripts/import-local-packages b/scripts/import-local-packages
new file mode 100755
index 00000000..be8e1688
--- /dev/null
+++ b/scripts/import-local-packages
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+LOCAL_PKG_DIR=build/config/packages.chroot
+
+mkdir -p $LOCAL_PKG_DIR
+cp packages/*.deb $LOCAL_PKG_DIR