Skip to content

Commit 022c9eb

Browse files
committed
update alpine files
1 parent 290eeb8 commit 022c9eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://mirrors.aliyun.com/alpine/v3.22/main
2+
https://mirrors.aliyun.com/alpine/v3.22/community

alpine/aarch64/etc/inittab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#tty6::respawn:/sbin/getty 38400 tty6
1414

1515
# Put a getty on the serial port
16-
ttyAMA0::respawn:/sbin/getty -L 0 ttyAMA0 vt100 -n -l /usr/sbin/autologin
16+
ttyAMA0::respawn:/sbin/getty -L 0 ttyAMA0 ansi -n -l /usr/sbin/autologin
1717

1818
# Stuff to do for the 3-finger salute
1919
::ctrlaltdel:/sbin/reboot

alpine/aarch64/init

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ mount -t sysfs none /sys
55
mkdir /dev/pts
66
mount -t devpts devpts /dev/pts
77
mount -t tmpfs tmpfs /tmp
8+
mount -t cgroup -o defaults none /sys/fs/cgroup
89

910
ifconfig eth0 10.0.2.15 netmask 255.255.255.0
1011
route add default gw 10.0.2.2
1112
ifconfig lo 127.0.0.1 netmask 255.0.0.0
1213

1314
mount -t 9p -o trans=virtio,version=9p2000.L hostshare /mnt/share
1415

15-
clear
16-
#echo -e "\nBoot took $(cut -d' ' -f1 /proc/uptime) seconds."
17-
1816
exec /sbin/init

0 commit comments

Comments
 (0)