diff options
-rw-r--r-- | distro/opensuse/15/entry | 3 | ||||
-rw-r--r-- | distro/opensuse/15/install.sh | 2 | ||||
-rw-r--r-- | distro/opensuse/15/isoinfo | 8 | ||||
-rw-r--r-- | distro/opensuse/distroinfo | 2 | ||||
-rw-r--r-- | distro/opensuse/entry.common | 5 | ||||
-rw-r--r-- | distro/opensuse/install.sh | 8 |
6 files changed, 28 insertions, 0 deletions
diff --git a/distro/opensuse/15/entry b/distro/opensuse/15/entry new file mode 100644 index 0000000..6c0f040 --- /dev/null +++ b/distro/opensuse/15/entry @@ -0,0 +1,3 @@ +version=15 +CDLABEL=openSUSE_Leap_15.0_KDE_Live +source distro/opensuse/entry.common diff --git a/distro/opensuse/15/install.sh b/distro/opensuse/15/install.sh new file mode 100644 index 0000000..bbf620b --- /dev/null +++ b/distro/opensuse/15/install.sh @@ -0,0 +1,2 @@ +version=15 +source distro/opensuse/install.sh diff --git a/distro/opensuse/15/isoinfo b/distro/opensuse/15/isoinfo new file mode 100644 index 0000000..7ca2bdd --- /dev/null +++ b/distro/opensuse/15/isoinfo @@ -0,0 +1,8 @@ +ISONAME="$DISTRONAME 15 KDE Live" +ISOURL=distribution/leap/15.0/live/openSUSE-Leap-15.0-KDE-Live-x86_64-Snapshot17.9-Media.iso +SHA256=e5b8c9ae1dd596e8fc5cda89d616cc6e8f5aecccba668d198a8c2d3b19175e9e + +mirrorlist=( +https://download.opensuse.org +https://mirrors.tuna.tsinghua.edu.cn/opensuse +) diff --git a/distro/opensuse/distroinfo b/distro/opensuse/distroinfo new file mode 100644 index 0000000..155bdc2 --- /dev/null +++ b/distro/opensuse/distroinfo @@ -0,0 +1,2 @@ +DISTRONAME='OpenSUSE' +KEYWORD='opensuse' diff --git a/distro/opensuse/entry.common b/distro/opensuse/entry.common new file mode 100644 index 0000000..c52becb --- /dev/null +++ b/distro/opensuse/entry.common @@ -0,0 +1,5 @@ +TITLE="OpenSUSE $version x86_64" +KERNEL=/liveusb-kernel/opensuse/$version/linux +INITRD=/liveusb-kernel/opensuse/$version/initrd +OPTION="root=live:CDLABEL=$CDLABEL iso-scan/filename=liveusb-data/opensuse/$ISOFILE" +X64=y diff --git a/distro/opensuse/install.sh b/distro/opensuse/install.sh new file mode 100644 index 0000000..d24c9db --- /dev/null +++ b/distro/opensuse/install.sh @@ -0,0 +1,8 @@ +install_live() { + mount_iso + install -d "$DATADIR/opensuse/" "$KERNELDIR/opensuse/$version" + cp "$ISOMNT/boot/x86_64/loader"/{linux,initrd} \ + "$KERNELDIR/opensuse/$version" + umount_iso + cp "$ISOPATH/$ISOFILE" "$DATADIR/opensuse/" +} |