File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ PROJECT = help-check
2+ MELANGE_CONTEXTDIR ?= /tmp/melange-context/$(PROJECT )
3+ MELANGE_INSTALL_PATH = $(MELANGE_CONTEXTDIR ) /usr/bin
4+
5+ .PHONY : build melange-install
6+
7+ build :
8+ chmod +x help-check
9+
10+ test :
11+
12+ melange-install : build
13+ echo $@
14+ mkdir -p $(MELANGE_INSTALL_PATH )
15+ install -Dm755 $(PROJECT ) $(MELANGE_INSTALL_PATH ) /$(PROJECT )
Original file line number Diff line number Diff line change 1+ # help-check
2+
3+ This is called to run ` help-check ` on package binary or binaries.
Original file line number Diff line number Diff line change @@ -137,6 +137,19 @@ subpackages:
137137 [ -f /usr/bin/ver-check ]
138138 [ -x /usr/bin/ver-check ]
139139
140+ - name : help-check
141+ dependencies :
142+ runtime :
143+ - busybox
144+ pipeline :
145+ - runs : |
146+ make -C help-check MELANGE_CONTEXTDIR=${{targets.contextdir}} melange-install
147+ test :
148+ pipeline :
149+ - runs : |
150+ [ -f /usr/bin/help-check ]
151+ [ -x /usr/bin/help-check ]
152+
140153 - name : usrmerge-tool
141154 options :
142155 no-provides : true
You can’t perform that action at this time.
0 commit comments