2015-12-02 20:33:32 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
|
|
|
|
#
|
|
|
|
# This file is licensed under the terms of the GNU General Public
|
|
|
|
# License version 2. This program is licensed "as is" without any
|
|
|
|
# warranty of any kind, whether express or implied.
|
|
|
|
#
|
|
|
|
# This file is a part of tool chain https://github.com/igorpecovnik/lib
|
|
|
|
#
|
|
|
|
|
2016-09-17 18:40:04 +02:00
|
|
|
# This script recreates deb repository from files in directory POT
|
2015-12-02 20:33:32 +01:00
|
|
|
#
|
|
|
|
# each file is added three times! wheezy-jessie-trusty
|
|
|
|
#
|
|
|
|
# We are using this only for kernel, firmware, root changes, headers
|
|
|
|
|
|
|
|
|
2016-05-23 20:11:06 +02:00
|
|
|
[[ -f "../userpatches/lib.config" ]] && source "../userpatches/lib.config"
|
2015-12-02 20:33:32 +01:00
|
|
|
|
|
|
|
POT="../output/debs/"
|
|
|
|
|
|
|
|
# load functions
|
2016-07-21 18:25:22 +03:00
|
|
|
source general.sh
|
2015-12-02 20:33:32 +01:00
|
|
|
|
|
|
|
# run repository update
|
|
|
|
addtorepo
|
|
|
|
|
|
|
|
# add a key to repo
|
|
|
|
cp bin/armbian.key ../output/repository/public
|
|
|
|
cd ../output/repository/public
|
|
|
|
|
|
|
|
echo "done."
|