istoreos: keep core repo in distfeeds.conf
This commit is contained in:
parent
6ee0307fec
commit
0269cfa89d
@ -44,7 +44,7 @@ HOST_SED="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(SED))"
|
||||
HOST_LN="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(LN))"
|
||||
|
||||
[ -n "$${IPKG_INSTROOT}" ] && {
|
||||
$${HOST_SED} '/^src\/gz openwrt_\(base\|luci\|packages\|routing\|telephony\) /!d' "$${IPKG_INSTROOT}/etc/opkg/distfeeds.conf"
|
||||
$${HOST_SED} '/^src\/gz openwrt_\(core\|base\|luci\|packages\|routing\|telephony\) /!d' "$${IPKG_INSTROOT}/etc/opkg/distfeeds.conf"
|
||||
|
||||
$${HOST_SED} 's/"192.168.1.1"/"192.168.100.1"/' \
|
||||
"$${IPKG_INSTROOT}/usr/lib/lua/luci/controller/admin/system.lua" \
|
||||
@ -68,8 +68,9 @@ HOST_LN="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(LN))"
|
||||
|
||||
rm -f "$${IPKG_INSTROOT}/etc/uci-defaults/luci-argon-config"
|
||||
|
||||
true
|
||||
}
|
||||
true
|
||||
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,istoreos-files))
|
||||
|
||||
@ -2,3 +2,16 @@
|
||||
define Package/base-files/install-target
|
||||
chmod 0400 $(1)/etc/public.key
|
||||
endef
|
||||
|
||||
define Package/base-files/postinst
|
||||
#!/bin/sh
|
||||
|
||||
HOST_SED="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(SED))"
|
||||
HOST_LN="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(LN))"
|
||||
|
||||
[ -n "$${IPKG_INSTROOT}" ] && {
|
||||
$${HOST_SED} '/^src\/gz openwrt_core /d' "$${IPKG_INSTROOT}/etc/opkg/distfeeds.conf"
|
||||
}
|
||||
true
|
||||
|
||||
endef
|
||||
|
||||
Loading…
Reference in New Issue
Block a user