Skip to content

Commit 89bf0c2

Browse files
committed
Add root for app store with ODRs
1 parent 9ce02ec commit 89bf0c2

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OUT = out
22
MAKEROOT = ./makeroot.sh
33

4-
ROOTS = appstore alpine
4+
ROOTS = appstore alpine appstore-odrs
55
ROOT_TARS = $(ROOTS:%=$(OUT)/%.tar.gz)
66

77
.PHONY: all
@@ -26,3 +26,4 @@ endef
2626
$(eval $(call download-root,http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86/alpine-minirootfs-3.12.0-x86.tar.gz))
2727
$(eval $(call make-root,alpine,alpine-minirootfs-3.12.0-x86))
2828
$(eval $(call make-root,appstore,alpine-minirootfs-3.12.0-x86))
29+
$(eval $(call make-root,appstore-odrs,alpine-minirootfs-3.12.0-x86))

appstore-odrs.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
script <<END
2+
cat >/etc/motd <<MOTD
3+
Welcome to Alpine!
4+
5+
You can install packages with: apk add <package>
6+
7+
You may change this message by editing /etc/motd.
8+
9+
MOTD
10+
echo http://localhost:42069/main > /etc/apk/repositories
11+
END

0 commit comments

Comments
 (0)