From 6c2ae2cd2561030e5b998f697de3031e6e6c1380 Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Wed, 29 Mar 2023 18:03:34 +0300 Subject: [PATCH] update --- pika-baseos/debian/changelog | 6 ++++++ pika-baseos/debian/control | 18 ++---------------- pika-baseos/debian/pika-baseos.install | 1 + pika-baseos/usr/bin/pika-chsh | 20 ++++++++++++++++++++ 4 files changed, 29 insertions(+), 16 deletions(-) create mode 100755 pika-baseos/usr/bin/pika-chsh diff --git a/pika-baseos/debian/changelog b/pika-baseos/debian/changelog index 92d54d9..f2c0cb8 100644 --- a/pika-baseos/debian/changelog +++ b/pika-baseos/debian/changelog @@ -1,3 +1,9 @@ +pika-baseos (2.3.2) kinetic; urgency=medium + + * Put wiregaurd as recommends not deps, add pika-audio, and add pika-chsh + + -- Ward Nakchbandi Thu, 12 Jan 2023 16:48:00 +0300 + pika-baseos (2.3.1) kinetic; urgency=medium * Disable system76-hidpi by default diff --git a/pika-baseos/debian/control b/pika-baseos/debian/control index 43e3108..3696844 100644 --- a/pika-baseos/debian/control +++ b/pika-baseos/debian/control @@ -115,7 +115,6 @@ Depends: ${misc:Depends}, net-tools, libproxy1-plugin-gsettings, libproxy1-plugin-networkmanager, - network-manager-wireguard-plugin, wireless-tools, rfkill, gstreamer1.0-plugins-base-apps, @@ -125,21 +124,8 @@ Depends: ${misc:Depends}, samba-common-bin, wpasupplicant, ## Audio and codecs - libasound2-plugins, - libldacbt-abr2, - libldacbt-enc2, - libfreeaptx0, - libspa-0.2-bluetooth, - libspa-0.2-jack, - pipewire, - pipewire-alsa, - pipewire-jack, - pipewire-pulse, - pulseaudio-utils, - wireplumber, - gstreamer1.0-alsa, -Recommends: power-profiles-daemon -Conflicts: pulseaudio, pipewire-media-session + pika-audio-pipewire | pika-audio-legacy +Recommends: power-profiles-daemon, network-manager-wireguard-plugin Description: The backbone of PikaOS Suggests: ## Make pika-gnome-desktop-minimal deps not go to autoremove diff --git a/pika-baseos/debian/pika-baseos.install b/pika-baseos/debian/pika-baseos.install index ee19d5d..a75e237 100644 --- a/pika-baseos/debian/pika-baseos.install +++ b/pika-baseos/debian/pika-baseos.install @@ -1 +1,2 @@ etc +usr diff --git a/pika-baseos/usr/bin/pika-chsh b/pika-baseos/usr/bin/pika-chsh new file mode 100755 index 0000000..7b44126 --- /dev/null +++ b/pika-baseos/usr/bin/pika-chsh @@ -0,0 +1,20 @@ +#! /bin/bash + +set -e + +if [[ -z $1 ]] +then +echo 'Usage: pika-chsh shell user' +echo 'Example: pika-chsh fish smith' +else +if [[ ! -f /usr/local/bin/"$1"login ]] +then +touch /usr/local/bin/"$1"login +echo '#! /bin/bash -l' > /usr/local/bin/"$1"login +echo "exec -l $1" $(echo -e '"$@"') >> /usr/local/bin/"$1"login +echo "/usr/local/bin/"$1"login" | tee -a /etc/shells +chmod -x /usr/local/bin/"$1"login +fi + +chsh -s /usr/local/bin/"$1"login $2 +fi