src: update custom firstboot service for bootc
This commit is contained in:
parent
562a8c574e
commit
17170b7495
3 changed files with 27 additions and 5 deletions
15
Makefile
15
Makefile
|
|
@ -1,4 +1,19 @@
|
|||
FISTBOOT_SERVICE := $(shell base64 -w0 < aux/custom-first-boot.service)
|
||||
|
||||
help:
|
||||
@cat Makefile
|
||||
|
||||
src/constants.ts: aux/custom-first-boot.service
|
||||
sed -i "s/.*FIRST_BOOT_SERVICE_DATA.*/export const FIRST_BOOT_SERVICE_DATA = '$(FISTBOOT_SERVICE)';/" $@
|
||||
|
||||
.PHONY: prep
|
||||
prep: src/constants.ts
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
npm install
|
||||
|
||||
.PHONY: start
|
||||
start: prep
|
||||
npm start
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue