Skip to content

Commit

Permalink
patches/openwrt: update the apply on OpenWrt HEAD
Browse files Browse the repository at this point in the history
* very likely caused by OpenWrt-commit: 3572711e3cea24dd5276666860f57a2c3a72525e
* fixes #830
  • Loading branch information
SvenRoederer committed Sep 7, 2020
1 parent cf3523b commit 0e29db3
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions patches/openwrt/1600-imagebuilder-custom-postinst-script.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,17 @@ From: template <nomail@local>
Date: Fri, 6 Sep 2019 08:29:50 +0000
Subject: imagebuilder-custom-postinst-script

---


diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index 95df8bf113..0debd5a882 100644
index 835dd98ca5fe9f876247d3bf43c02459e640dcd1..59f99d13ab32634ef29591743d1d3b4dc020ee50 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -105,6 +105,9 @@ _call_image: staging_dir/host/.prereq-build
@@ -117,6 +117,9 @@ _call_image: staging_dir/host/.prereq-build
$(MAKE) package_reload
$(MAKE) package_install
$(MAKE) -s prepare_rootfs
+ifneq ($(CUSTOM_POSTINST_SCRIPT),)
+ (cd "$(TARGET_DIR)" ; bash $(CUSTOM_POSTINST_SCRIPT))
+endif
$(MAKE) -s build_image
$(MAKE) -s json_overview_image_info
$(MAKE) -s checksum

--
2.20.1


0 comments on commit 0e29db3

Please sign in to comment.