src: update custom firstboot service for bootc

This commit is contained in:
Lukas Zapletal 2024-09-26 13:24:18 +02:00 committed by Ondřej Ezr
parent 562a8c574e
commit 17170b7495
3 changed files with 27 additions and 5 deletions

View file

@ -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