forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepo-update.sh
35 lines (27 loc) · 820 Bytes
/
repo-update.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/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
#
# This scripts recreates deb repository from files in directory POT
#
# each file is added three times! wheezy-jessie-trusty
#
# We are using this only for kernel, firmware, root changes, headers
# add password for your gpgp key
GPG_PASS=""
POT="../output/debs/"
# load functions
source general.sh
# run repository update
addtorepo
# add a key to repo
cp bin/armbian.key ../output/repository/public
cd ../output/repository/public
# upload to server with rsync
echo "done."