build: don't overwrite opkg key when it already exists
This commit is contained in:
parent
a40d3cddba
commit
0fd4ff0a68
2
Makefile
2
Makefile
@ -236,7 +236,7 @@ $(early_prepared_stamp):
|
|||||||
|
|
||||||
$(GLUON_OPKG_KEY): $(early_prepared_stamp) FORCE
|
$(GLUON_OPKG_KEY): $(early_prepared_stamp) FORCE
|
||||||
[ -s $(GLUON_OPKG_KEY) -a -s $(GLUON_OPKG_KEY).pub ] || \
|
[ -s $(GLUON_OPKG_KEY) -a -s $(GLUON_OPKG_KEY).pub ] || \
|
||||||
mkdir -p $$(dirname $(GLUON_OPKG_KEY)) && $(STAGING_DIR_HOST)/bin/usign -G -s $(GLUON_OPKG_KEY) -p $(GLUON_OPKG_KEY).pub -c "Gluon opkg key"
|
( mkdir -p $$(dirname $(GLUON_OPKG_KEY)) && $(STAGING_DIR_HOST)/bin/usign -G -s $(GLUON_OPKG_KEY) -p $(GLUON_OPKG_KEY).pub -c "Gluon opkg key" )
|
||||||
|
|
||||||
$(GLUON_OPKG_KEY).pub: $(GLUON_OPKG_KEY)
|
$(GLUON_OPKG_KEY).pub: $(GLUON_OPKG_KEY)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user