Commit b0bedfde authored by Chrissi^'s avatar Chrissi^ Committed by GitHub

Merge pull request #9 from Sprinterfreak/master

* Version determination bug fix
* adding kmod-button-hotplug to x86 and x86-64
* Adding note to how-to-build that file names must be short enough.
parents 32809a43 4aaaf7bf
......@@ -27,6 +27,9 @@ make GLUON_TARGET=ar71xx-generic
sollte dann zum erzeugen der richtigen Images reichen =)
Die site.mk versucht in diesem Fall zusammen mit getRelease.sh in der site/ den korrekten Tag-String aus dem Gluon-Repo zu ermitteln.
Nach erfolgreichem Build, Dateinamen von TP-Link factory-Images kürzen (<63 Zeichen),
da sonst das flashen über das factory WebUI nicht möglich ist.
for f in output/images/factory/*-tp-link-tl-*.bin; do mv $f ${f/-tp-link-tl-/-tl-}; done
Signieren der Firmware:
tbd
......
......@@ -25,9 +25,23 @@ GLUON_SITE_PACKAGES := \
iptables \
gluon-fffd-wifi-aliases \
haveged
# x86-generic
ifeq ($(GLUON_TARGET),x86-generic)
# support acpi shutdown for openwrt as VM
GLUON_SITE_PACKAGES += \
kmod-button-hotplug
endif
# x86-64
ifeq ($(GLUON_TARGET),x86-64)
# support acpi shutdown for openwrt as VM
GLUON_SITE_PACKAGES += \
kmod-button-hotplug
endif
DEFAULT_GLUON_RELEASE := $(shell bash -c 'while [[ -z `git remote -v | grep "freifunk-gluon/gluon.git"` ]]; do cd ..; done; site/getRelease.sh')-$(shell date '+%Y%m%d')-stable
DEFAULT_GLUON_RELEASE := $(shell ${GLUON_SITEDIR}/getRelease.sh)-$(shell date '+%Y%m%d')-snapshot
# Allow overriding the release number from the command line
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment