Skip to content

Commit

Permalink
Taggart
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLinuxGuy committed May 14, 2022
1 parent 9bbcb0e commit 5bdad5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openwrt-21.02/steps/04-prepare_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ cp $ROOTDIR/openwrt-21.02/patches/node/010-execvp-arg-list-too-long.patch feeds/
MANUAL_DATE="$(date +%Y.%m.%d) (manual build)"
BUILD_STRING=${BUILD_STRING:-$MANUAL_DATE}
echo "Write build date in openwrt : $BUILD_DATE"
echo -e '\nAO Build@'${BUILD_STRING}'\n' >> package/base-files/files/etc/banner
echo -e '\ngithub.com/thelinuxguy@'${BUILD_STRING}'\n' >> package/base-files/files/etc/banner
#sed -i '/DISTRIB_REVISION/d' package/base-files/files/etc/openwrt_release
#echo "DISTRIB_REVISION='${BUILD_STRING}'" >> package/base-files/files/etc/openwrt_release
sed -i '/DISTRIB_DESCRIPTION/d' package/base-files/files/etc/openwrt_release
echo "DISTRIB_DESCRIPTION='AO Build@${BUILD_STRING}'" >> package/base-files/files/etc/openwrt_release
echo "DISTRIB_DESCRIPTION='github.com/thelinuxguy@${BUILD_STRING}'" >> package/base-files/files/etc/openwrt_release
sed -i '/luciversion/d' feeds/luci/modules/luci-base/luasrc/version.lua

rm -rf .config
4 changes: 2 additions & 2 deletions openwrt-22.03/steps/04-prepare_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ cp -R ../stangri_repo/luci-app-pbr feeds/luci/applications/
MANUAL_DATE="$(date +%Y.%m.%d) (manual build)"
BUILD_STRING=${BUILD_STRING:-$MANUAL_DATE}
echo "Write build date in openwrt : $BUILD_DATE"
echo -e '\nAO Build@'${BUILD_STRING}'\n' >> package/base-files/files/etc/banner
echo -e '\ngithub.com/thelinuxguy@'${BUILD_STRING}'\n' >> package/base-files/files/etc/banner
#sed -i '/DISTRIB_REVISION/d' package/base-files/files/etc/openwrt_release
#echo "DISTRIB_REVISION='${BUILD_STRING}'" >> package/base-files/files/etc/openwrt_release
sed -i '/DISTRIB_DESCRIPTION/d' package/base-files/files/etc/openwrt_release
echo "DISTRIB_DESCRIPTION='AO Build@${BUILD_STRING}'" >> package/base-files/files/etc/openwrt_release
echo "DISTRIB_DESCRIPTION='github.com/thelinuxguy@${BUILD_STRING}'" >> package/base-files/files/etc/openwrt_release
sed -i '/luciversion/d' feeds/luci/modules/luci-base/luasrc/version.lua

rm -rf .config

0 comments on commit 5bdad5b

Please sign in to comment.