Skip to content

Commit f8d1e4f

Browse files
Add openSUSE.
1 parent 7b160ca commit f8d1e4f

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

distros/suse-phosh/README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+

distros/suse-phosh/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version=2020.11.16-Build9.3
2+
name="openSUSE / Phosh"
3+
bootargs=""

distros/suse-phosh/extract.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

files/suse-phosh.argb

3.96 MB
Binary file not shown.

0 commit comments

Comments
 (0)