T229: automatically import locally build .deb's from packages/ at build time.

Made it a separate script, if we ever need anything fancier than cp *.deb
If not, we can move it to the makefile.
This commit is contained in:
Daniil Baturin 2016-12-21 22:24:54 +01:00
parent 1d115aa6e4
commit e119d44d2b
2 changed files with 7 additions and 0 deletions

View File

@ -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

6
scripts/import-local-packages Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
LOCAL_PKG_DIR=build/config/packages.chroot
mkdir -p $LOCAL_PKG_DIR
cp packages/*.deb $LOCAL_PKG_DIR