Skip to content

Commit

Permalink
macaroni/live-setup-lxqt: Bump v.0.1 (new package)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Rondina committed Apr 18, 2023
1 parent 9ee1541 commit ac9512e
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/macaroni/live-setup-lxqt/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
image: "macaronios/phoenix-minimal:latest-amd64"
package_dir: /integration
steps:
- >-
mkdir -p /integration/var/lib/macaroni/
- cp -rfv live-lxqt.sh /integration/var/lib/macaroni/
- chmod +x /integration/var/lib/macaroni/live-lxqt.sh
55 changes: 55 additions & 0 deletions packages/macaroni/live-setup-lxqt/definition.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: live-setup-lxqt
version: "0.1"
category: macaroni
requires:
- name: bash
version: '>=0'
category: app-shells
- name: live-setup-core
version: '>=0'
category: macaroni
#- name: skel-phoenix-xfce4
# version: '>=0'
# category: macaroni
- name: macaroni-gnome-shell-theme
version: '>=0'
category: x11-themes
- name: sddm
version: '>=0'
category: x11-misc
- name: lxqt-meta
version: '>=0'
category: lxqt-base
- name: lxqt-panel
version: '>=0'
category: lxqt-base
- name: lxqt-session
version: '>=0'
category: lxqt-base
- name: lxqt-admin
version: '>=0'
category: lxqt-base
- name: lxqt-globalkeys
version: '>=0'
category: lxqt-base
- name: lxqt-policykit
version: '>=0'
category: lxqt-base
- name: lxqt-config
version: '>=0'
category: lxqt-base
- name: lxqt-notificationd
version: '>=0'
category: lxqt-base
- name: lxqt-powermanagement
version: '>=0'
category: lxqt-base
- name: lxqt-runner
version: '>=0'
category: lxqt-base
- name: lxqt-panel
version: '>=0'
category: lxqt-base
- name: macaroni-funtoo-calamares
version: '>=0'
category: system
9 changes: 9 additions & 0 deletions packages/macaroni/live-setup-lxqt/finalize.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
install:
- /var/lib/macaroni/live-lxqt.sh
# This is needed because `mos kernel gi` is skipped.
# TODO: fix luet-geniso to avoid this.
- cd boot && ln -s kernel-* bzImage || true
- cd boot && ln -s initramfs-* Initrd || true
shell:
- bash
- -c
61 changes: 61 additions & 0 deletions packages/macaroni/live-setup-lxqt/live-lxqt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/bin/bash

if [ -n "$DEBUG" ] ; then
set -x
fi

EROOT=${EROOT:-""}
DISPLAYMANAGER="sddm"
PLYMOUTH_THEME="funtoo"
ENABLED_BOOT_SERVICES=(
"dbus"
"binfmt"
"elogind"
"hostname"
"opentmpfiles-setup"
"procfs"
"root"
"swap"
"urandom"
)
ENABLED_SERVICES=(
"avahi-daemon"
"local"
"bluetooth"
# Temporay enable logger always. On ISO probably we can to maintain
# this off.
"metalog"
"NetworkManager"
"xdm"
"virtualbox-guest-additions"
"zram-init"
)
ENABLED_SYSINIT_SERVICES=(
"udev-postmount"
"udev-trigger"
"udev-settle"
"cgroups"
"devfs"
# dmcrypt and device-mapper is needed to support encrypted filesystem
"device-mapper"
"dmcrypt"
"dmesg"
"sysfs"
)
HOOKS=(
"vboxguest.vboxguest_setup"
"fonts.convert_pfb"
"fonts.setup_all_fonts"
"gtk.glib_update_schemas"
"gtk.gtk_update_icons"
"gtk.mime_update_db"
)

source ${EROOT}/var/lib/macaroni/live-core.sh

main_lxqt() {
main || return 1
}

main_lxqt
exit $?

0 comments on commit ac9512e

Please sign in to comment.