Alpinelinux

Setup Alpine - hostname, network, cache directory and so on

# setup-alpine

Update apks

# apk update
fetch http://dl-4.alpinelinux.org/alpine/v3.4/main/armhf/APKINDEX.tar.gz
fetch http://dl-3.alpinelinux.org/alpine/v3.4/main/armhf/APKINDEX.tar.gz
alpine-uboot 3.4.2 [/media/mmcblk0p1/apks]
v3.4.3-1-g8e74572 [http://dl-4.alpinelinux.org/alpine/v3.4/main]
v3.4.3-1-g8e74572 [http://dl-3.alpinelinux.org/alpine/v3.4/main]
OK: 5193 distinct packages available

Store changed configuration

# apk cache -U sync
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/armhf/APKINDEX.tar.gz
fetch http://dl-2.alpinelinux.org/alpine/v3.4/main/armhf/APKINDEX.tar.gz

# ls -la /media/mmcblk0p1/cache
total 1328
drwxr-xr-x    2 root     root          8192 Aug 17 16:41 .
drwxr-xr-x    7 root     root          8192 Jan  1  1970 ..
-rwxr-xr-x    1 root     root        666473 Aug 15 16:59 APKINDEX.167438ca.tar.gz
-rwxr-xr-x    1 root     root        666473 Aug 15 16:59 APKINDEX.8ccb67fa.tar.gz
-rwxr-xr-x    1 root     root             0 Aug 17 16:41 installed

Reboot the system

# sync
# reboot

results matching ""

    No results matching ""