mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
include: make APK .list files reproducible
The order may vary between builds, a re-build showed that error locally. Run `sort` to have this fixed. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
parent
00c16754cd
commit
aff2f09623
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ else
|
||||||
|
|
||||||
if [ -n "$(USERID)" ]; then echo $(USERID) > $$(IDIR_$(1))/lib/apk/packages/$(1).rusers; fi;
|
if [ -n "$(USERID)" ]; then echo $(USERID) > $$(IDIR_$(1))/lib/apk/packages/$(1).rusers; fi;
|
||||||
if [ -n "$(ALTERNATIVES)" ]; then echo $(ALTERNATIVES) > $$(IDIR_$(1))/lib/apk/packages/$(1).alternatives; fi;
|
if [ -n "$(ALTERNATIVES)" ]; then echo $(ALTERNATIVES) > $$(IDIR_$(1))/lib/apk/packages/$(1).alternatives; fi;
|
||||||
(cd $$(IDIR_$(1)) && find . -type f,l -printf "/%P\n" > $$(IDIR_$(1))/lib/apk/packages/$(1).list)
|
(cd $$(IDIR_$(1)) && find . -type f,l -printf "/%P\n" | sort > $$(IDIR_$(1))/lib/apk/packages/$(1).list)
|
||||||
# Move conffiles to IDIR and build conffiles_static with csums
|
# Move conffiles to IDIR and build conffiles_static with csums
|
||||||
if [ -f $$(ADIR_$(1))/conffiles ]; then \
|
if [ -f $$(ADIR_$(1))/conffiles ]; then \
|
||||||
mv -f $$(ADIR_$(1))/conffiles $$(IDIR_$(1))/lib/apk/packages/$(1).conffiles; \
|
mv -f $$(ADIR_$(1))/conffiles $$(IDIR_$(1))/lib/apk/packages/$(1).conffiles; \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue