From 48ee9b67a2d640bdb81fcb5ba9ec82386d168574 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sun, 11 Jul 2021 11:35:13 -0700 Subject: [PATCH] main/postmarketos-ui-console: new aport (MR 2336) This adds a new 'UI' that includes networking support (network manager), firewall (by way of postmarketos-base-ui), and anything else that will give a basic, working image without any graphical UI. The intention is for bpo to build this instead of the 'none' UI. 'none' UI will continue to be around for mainlining and testing purposes. --- main/postmarketos-ui-console/APKBUILD | 19 +++++++++++++++++++ .../postmarketos-ui-console.post-install | 3 +++ .../postmarketos-ui-console.post-upgrade | 1 + 3 files changed, 23 insertions(+) create mode 100644 main/postmarketos-ui-console/APKBUILD create mode 100644 main/postmarketos-ui-console/postmarketos-ui-console.post-install create mode 120000 main/postmarketos-ui-console/postmarketos-ui-console.post-upgrade diff --git a/main/postmarketos-ui-console/APKBUILD b/main/postmarketos-ui-console/APKBUILD new file mode 100644 index 000000000..ed940ee35 --- /dev/null +++ b/main/postmarketos-ui-console/APKBUILD @@ -0,0 +1,19 @@ +# Maintainer: Clayton Craft +pkgname=postmarketos-ui-console +pkgver=0.1 +pkgrel=0 +pkgdesc="Console environment, with no graphical/touch UI" +url="https://postmarketos.org/" +arch="noarch" +license="GPL-3.0-or-later" +depends=" + dnsmasq + networkmanager + postmarketos-base-ui + " +options="!check" # No testsuite +install="$pkgname.post-install $pkgname.post-upgrade" + +package() { + mkdir -p "$pkgdir" +} diff --git a/main/postmarketos-ui-console/postmarketos-ui-console.post-install b/main/postmarketos-ui-console/postmarketos-ui-console.post-install new file mode 100644 index 000000000..13470bb05 --- /dev/null +++ b/main/postmarketos-ui-console/postmarketos-ui-console.post-install @@ -0,0 +1,3 @@ +#!/bin/sh + +rc-update add networkmanager default diff --git a/main/postmarketos-ui-console/postmarketos-ui-console.post-upgrade b/main/postmarketos-ui-console/postmarketos-ui-console.post-upgrade new file mode 120000 index 000000000..a9777ac91 --- /dev/null +++ b/main/postmarketos-ui-console/postmarketos-ui-console.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-console.post-install \ No newline at end of file