login: use pkg instead of raw compil
This commit is contained in:
parent
2357798b8f
commit
e9ec1eb9b9
2 changed files with 2 additions and 17 deletions
13
login.yml
13
login.yml
|
|
@ -4,21 +4,12 @@ kernel:
|
|||
|
||||
init:
|
||||
- busybox
|
||||
- nemunaire/adlin-login-app:34d62f18f7f44907f61d37f774d4fda864ebab55
|
||||
|
||||
files:
|
||||
- path: /bin/login
|
||||
source: login-app/login-app
|
||||
mode: "0755"
|
||||
|
||||
- path: /etc/terminfo/l/linux
|
||||
source: /etc/terminfo/l/linux
|
||||
mode: "0644"
|
||||
- path: /etc/ssl/certs/DST_Root_CA_X3.pem
|
||||
source: /etc/ssl/certs/DST_Root_CA_X3.pem
|
||||
mode: "0644"
|
||||
- path: /usr/share/udhcpc/default.script
|
||||
source: /usr/share/udhcpc/default.script
|
||||
mode: "0755"
|
||||
|
||||
- path: /init
|
||||
contents: |
|
||||
|
|
@ -51,7 +42,7 @@ files:
|
|||
} > /dev/null 2> /dev/null &
|
||||
|
||||
grep adlin.debug=1 /proc/cmdline > /dev/null && /bin/sh
|
||||
/bin/login
|
||||
/bin/login-app
|
||||
|
||||
reboot -f
|
||||
mode: "0755"
|
||||
|
|
|
|||
Reference in a new issue