GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

Commits (2)
......@@ -11,7 +11,6 @@ BIN = \
XBIN = \
bin/desktop-items \
bin/disable-dpms \
bin/pulseaudio-ctl-normal
XDG = $(wildcard data/*.desktop)
......@@ -21,15 +20,6 @@ SHARED = \
$(wildcard data/*.map) \
data/live.conf
RC = \
data/rc/gnupg-mount \
data/rc/mhwd-live-net \
data/rc/mirrors-live-net \
data/rc/pacman-init \
data/rc/garuda-live \
data/rc/mhwd-live \
data/rc/mirrors-live
SD = $(wildcard data/sd/*)
GRUB_DEFAULT = \
......@@ -64,10 +54,6 @@ install_base:
install -dm0755 $(DESTDIR)$(PREFIX)/share/garuda-tools
install -m0644 ${SHARED} $(DESTDIR)$(PREFIX)/share/garuda-tools
install_rc:
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/init.d
install -m0755 ${RC} $(DESTDIR)$(SYSCONFDIR)/init.d
install_sd:
install -dm0755 $(DESTDIR)$(PREFIX)/lib/systemd/system
install -m0644 ${SD} $(DESTDIR)$(PREFIX)/lib/systemd/system
......
......@@ -11,26 +11,6 @@ if [[ -f /usr/bin/calamares ]]; then
fi
fi
if [[ -f /usr/bin/manjaro-architect ]]; then
install -Dm755 $src/garuda-architect.desktop \
$xdg/garuda-architect.desktop
# workaround for mate-terminal; https://github.com/manjaro/desktop-settings/issues/120
if [[ $DESKTOP_SESSION == "mate" ]]; then
sed -i "s/^Exec.*/Exec=mate-terminal -e 'sudo \/usr\/bin\/setup'/; s/Terminal.*/Terminal=false/" $xdg/garuda-architect.desktop
fi
fi
if [[ -f "$src/garuda-documentation.desktop" ]]; then
install -Dm755 $src/garuda-documentation.desktop \
"$xdg/garuda-documentation.desktop"
fi
if [[ -f "$src/hexchat.desktop" ]]; then
install -Dm755 $src/hexchat.desktop \
"$xdg/hexchat.desktop"
fi
# workaround for glib trash bug (https://bugzilla.gnome.org/show_bug.cgi?id=748248)
userid=$(id -u $USER)
if [ ! -d "/.Trash-$userid" ]; then
......
#!/bin/bash
# Do we need this at all?
if [ -e /usr/bin/pulseaudio-ctl ];then
(sleep 10s && /usr/bin/pulseaudio-ctl set 70) &
fi
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=pulseaudio-ctl
Comment=Set Volume to 70%
Exec=pulseaudio-ctl-normal
StartupNotify=false
Terminal=false
Hidden=false
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
description="LiveMedia Config Script"
depend() {
need localmount
}
start() {
ebegin "Starting garuda live script"
# run the garuda live script
/usr/bin/garuda-live
eend $?
}
#!/usr/bin/openrc-run
# Copyright 2015 artoo (flower_of_life@gmx.net)
# Distributed under the terms of the GNU General Public License v2
target_dir=/etc/pacman.d/gnupg
description="Temporary ${target_dir} directory"
depend() {
before pacman-init
}
start() {
ebegin "Mounting temporary gnupg directory"
[[ ! -d ${target_dir} ]] && mkdir -p ${target_dir}
mount -t tmpfs -o size=10M,mode=0755 tmpfs ${target_dir}
eend $?
}
stop(){
ebegin "Unmounting temporary gnupg directory"
umount -l ${target_dir}
eend $?
}
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
depend() {
need garuda-live
before xdm
after pacman-init
}
start() {
ebegin "Running mhwd-live script"
# run the mhwd script
/usr/bin/mhwd-live-net &> /dev/null
eend $?
}
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
#description="garuda livecd mhwd-live script"
depend() {
need garuda-live
before xdm
after pacman-init
}
start() {
ebegin "Running mhwd-live script"
# run the mhwd script
/usr/bin/mhwd-live &> /dev/null
eend $?
}
#!/usr/bin/openrc-run
# Copyright 2016 artoo (artoo@manjaro.org)
# Distributed under the terms of the GNU General Public License v2
description="Pacman mirror ranking"
depend() {
need net
}
start() {
ebegin "Running mirrors ranking"
/usr/bin/reflector --save /etc/pacman.d/mirrorlist
eend $?
}
#!/usr/bin/openrc-run
# Copyright 2016 artoo (artoo@manjaro.org)
# Distributed under the terms of the GNU General Public License v2
description="Pacman mirror ranking"
depend() {
need net
}
start() {
ebegin "Running mirrors randomizer"
/usr/bin/reflector --save /etc/pacman.d/mirrorlist
eend $?
}
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
description="Pacman initialization script"
depend() {
use net
need haveged gnupg-mount
}
start() {
ebegin "Running pacman initialization"
/usr/bin/pacman-key --init &> /dev/null
/usr/bin/pacman-key --populate archlinux &> /dev/null
eend $?
}
[Unit]
Description=LiveMedia Pacman mirrors ranking script
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/reflector --save /etc/pacman.d/mirrorlist
[Install]
WantedBy=multi-user.target
[Unit]
Description=LiveMedia Pacman mirror ranking script
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/reflector --save /etc/pacman.d/mirrorlist
[Install]
WantedBy=multi-user.target
......@@ -110,7 +110,7 @@ configure_accountsservice(){
fi
}
set_lightdm_greeter(){
set_lightdm_greeter(){
local greeters=$(ls /usr/share/xgreeters/*greeter.desktop) name
for g in ${greeters[@]};do
name=${g##*/}
......@@ -124,7 +124,7 @@ configure_accountsservice(){
done
}
set_lightdm_vt(){
set_lightdm_vt(){
sed -i -e 's/^.*minimum-vt=.*/minimum-vt=7/' /etc/lightdm/lightdm.conf
}
......