buildprocess: Add extra metadata to pak lfs files

* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Robin Roevens
2022-01-31 23:40:47 +01:00
committed by Peter Müller
parent a9d98b3491
commit f15707c78c
196 changed files with 844 additions and 69 deletions

View File

@@ -24,6 +24,8 @@
include Config
SUMMARY = Daemon for running a WPA capable Access Point
VER = 581dfcc
THISAPP = hostapd-$(VER)
@@ -36,6 +38,8 @@ PAK_VER = 58
DEPS =
SERVICES = hostapd
###############################################################################
# Top-level Rules
###############################################################################
@@ -87,7 +91,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP)/hostapd && make install
install -v -m 644 $(DIR_SRC)/config/backup/includes/hostapd /var/ipfire/backup/addons/includes/hostapd
# install initscript
$(call INSTALL_INITSCRIPT,hostapd)
$(call INSTALL_INITSCRIPTS,$(SERVICES))
mkdir -p /var/ipfire/wlanap
touch /var/ipfire/wlanap/settings
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /var/ipfire/wlanap/hostapd.conf