mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Fix updater (now real core18)
fix missing newline at core17 filelist hostapd initscript now works also with eg. blue2
This commit is contained in:
@@ -84,7 +84,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/hostapd /var/ipfire/backup/addons/includes/hostapd
|
||||
mkdir -p /var/ipfire/wlanap
|
||||
touch /var/ipfire/wlanap/settings
|
||||
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /var/ipfire/wlanap/etc/hostapd.conf
|
||||
cp -vrf $(DIR_SRC)/config/hostapd/hostapd.conf /var/ipfire/wlanap/hostapd.conf
|
||||
chown nobody:nobody /var/ipfire/wlanap/*
|
||||
chmod 644 /var/ipfire/wlanap/*
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
@@ -76,7 +76,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
sed -e "s/NAME/core-upgrade/g" \
|
||||
-e "s/VER/2.1/g" \
|
||||
-e "s/RELEASE/16/g" \
|
||||
-e "s/RELEASE/18/g" \
|
||||
-e "s/DEPS/$(DEPS)/g" \
|
||||
-e "s/SIZE/`ls -l \/install\/packages\/core-upgrade-2.1-17.ipfire | awk '{ print $$5 }'`/g" \
|
||||
< /usr/src/src/pakfire/meta > /install/packages/meta-core-upgrade-17
|
||||
-e "s/SIZE/`ls -l \/install\/packages\/core-upgrade-2.1-18.ipfire | awk '{ print $$5 }'`/g" \
|
||||
< /usr/src/src/pakfire/meta > /install/packages/meta-core-upgrade-18
|
||||
|
||||
Reference in New Issue
Block a user