Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
Merge pull request #20 from FreifunkMD/migrate
Browse files Browse the repository at this point in the history
update to v2014.3 for 0.29
  • Loading branch information
LeSpocky committed Aug 15, 2014
2 parents 03ad6fd + c769833 commit d095c32
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*~
*.swp
15 changes: 12 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ else
fi

case "xx$GLUON_BRANCH" in
'xxstable'|'xxbeta'|'xxexperimental')
# fine
'xxstable')
GLUON_PRIORITY=14
;;
'xxbeta')
GLUON_PRIORITY=3
;;
'xxexperimental')
# use default GLUON_PRIORITY set in site.mk
;;
*)
echo "Unknown GLUON_BRANCH '$1'."
Expand All @@ -60,20 +66,23 @@ case "xx$GLUON_BRANCH" in
;;
esac

export GLUON_BRANCH GLUON_PRIORITY

# get GLUON_CHECKOUT from site dir
pushd ${SCRIPTDIR}
eval `make -s -f helper.mk`
echo "GLUON_CHECKOUT: ${GLUON_CHECKOUT}"

# build
pushd ..
make clean $VERBOSE
git checkout master
git pull
git checkout ${GLUON_CHECKOUT}
make clean $VERBOSE
make update $VERBOSE
make -j4 $VERBOSE
GLUON_BRANCH=${GLUON_BRANCH} make manifest $VERBOSE
make manifest $VERBOSE
popd

popd
Expand Down
5 changes: 1 addition & 4 deletions site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
stable = {
name = 'stable',
mirrors = {'http://stable.updates.firmware.ffmd'},
probability = 0.08,
good_signatures = 2,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
Expand All @@ -95,7 +94,6 @@
beta = {
name = 'beta',
mirrors = {'http://beta.updates.firmware.ffmd'},
probability = 0.08,
good_signatures = 2,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
Expand All @@ -107,7 +105,6 @@
experimental = {
name = 'experimental',
mirrors = {'http://experimental.updates.firmware.ffmd'},
probability = 1.00,
good_signatures = 1,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
Expand All @@ -122,7 +119,7 @@
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
enabled = 0,
enabled = false,
limit_egress = 200,
limit_ingress = 3000,
},
Expand Down
7 changes: 5 additions & 2 deletions site.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ this_dir := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))

GLUON_SITE_PACKAGES := \
gluon-alfred \
gluon-announced \
gluon-autoupdater \
gluon-config-mode \
gluon-ebtables-filter-multicast \
gluon-ebtables-filter-ra-dhcp \
gluon-firewall \
gluon-luci-admin \
gluon-luci-autoupdater \
gluon-luci-portconfig \
gluon-next-node \
gluon-mesh-batman-adv \
gluon-mesh-vpn-fastd \
Expand All @@ -19,10 +20,12 @@ GLUON_SITE_PACKAGES := \
iptables \
haveged

DEFAULT_GLUON_CHECKOUT := v2014.2
DEFAULT_GLUON_CHECKOUT := v2014.3
# Allow overriding the checkout from the command line
GLUON_CHECKOUT ?= $(DEFAULT_GLUON_CHECKOUT)

DEFAULT_GLUON_RELEASE := $(shell git --git-dir=$(this_dir)/.git --work-tree=$(this_dir) describe --tags --always --dirty --match "v*" | sed 's/^v//')
# Allow overriding the release number from the command line
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)

GLUON_PRIORITY ?= 0

0 comments on commit d095c32

Please sign in to comment.