[neon/snap-packaging/plasma-core-desktop-snap] /: Make the developer access easier to enable

Kevin Ottens null at kde.org
Fri May 3 13:53:44 BST 2024


Git commit 0aa9ab333b3822a3658c25f5f2301de40aa7d534 by Kevin Ottens.
Committed on 02/05/2024 at 14:52.
Pushed by ervin into branch 'master'.

Make the developer access easier to enable

M  +1    -0    .gitignore
A  +9    -0    attic/007-zzz-add-extra-developer-tools.chroot
A  +11   -0    enable-developer-access.sh

https://invent.kde.org/neon/snap-packaging/plasma-core-desktop-snap/-/commit/0aa9ab333b3822a3658c25f5f2301de40aa7d534

diff --git a/.gitignore b/.gitignore
index 081a3ea..85d2493 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,5 @@ snap/
 prime/
 stage/
 snap-connections.txt
+hooks/007-zzz-add-extra-developer-tools.chroot
 hooks/999-zzz-passwordless-root-on-serial.chroot
diff --git a/attic/007-zzz-add-extra-developer-tools.chroot b/attic/007-zzz-add-extra-developer-tools.chroot
new file mode 100755
index 0000000..9a688d2
--- /dev/null
+++ b/attic/007-zzz-add-extra-developer-tools.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+apt install --no-install-recommends -y \
+    qdbus-qt6 \
+    qt6-tools \
+    apparmor-utils
+
diff --git a/enable-developer-access.sh b/enable-developer-access.sh
new file mode 100755
index 0000000..ce7aa6b
--- /dev/null
+++ b/enable-developer-access.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+SCRIPT_PATH=`readlink -f $0`
+SCRIPT_DIR=`dirname $SCRIPT_PATH`
+
+set -x
+
+cp $SCRIPT_DIR/attic/snap-connections.txt $SCRIPT_DIR
+cp $SCRIPT_DIR/attic/007-zzz-add-extra-developer-tools.chroot $SCRIPT_DIR/hooks
+cp $SCRIPT_DIR/attic/999-zzz-passwordless-root-on-serial.chroot $SCRIPT_DIR/hooks
+



More information about the Neon-commits mailing list