diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-12-21 22:24:54 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-12-21 22:24:54 +0100 |
commit | e119d44d2bc5b0fc8daa7a208199ad9448427af7 (patch) | |
tree | a3e3f68990d171b43ebdd7c0a874df2128721bd1 | |
parent | 1d115aa6e45112c976f70231a48d5fc76be7b7fa (diff) | |
download | vyos-build-e119d44d2bc5b0fc8daa7a208199ad9448427af7.tar.gz vyos-build-e119d44d2bc5b0fc8daa7a208199ad9448427af7.zip |
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.
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | scripts/import-local-packages | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -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 |