File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # How to get rootfs
2+ # -----------------
3+
4+ # https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/
5+
6+ TMP=`mktemp -d`
7+ curl -L -o $TMP/opensuse.img.xz https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/openSUSE-Tumbleweed-ARM-PHOSH-pinephone.aarch64.raw.xz
8+ xz -d $TMP/opensuse.img.xz
9+ sudo ./extract.sh $TMP/opensuse.img
10+
Original file line number Diff line number Diff line change 1+ version=2020.11.16-Build9.3
2+ name="openSUSE / Phosh"
3+ bootargs=""
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ L=` losetup -P --show -f " $1 " `
4+
5+ mkdir -p m
6+ mount ${L} p2 m
7+ bsdtar -cvf - -C m --numeric-owner . | zstd -z -T0 -19 - > rootfs.tar.zst
8+ umount m
9+ rmdir m
10+
11+ losetup -d $L
You can’t perform that action at this time.
0 commit comments