moved all config files into one place

This commit is contained in:
Bruce Leidl 2018-03-27 20:38:01 -04:00
parent 5ff3c559a4
commit 47f2bd106e
14 changed files with 42 additions and 61 deletions

View File

@ -0,0 +1,17 @@
DESCRIPTION = ""
HOMEPAGE = ""
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
S = "${WORKDIR}"
SRC_URI = "file://gsettings/90_citadel.gschema.override"
inherit allarch gsettings
do_install() {
install -d ${D}${datadir}/glib-2.0/schemas
install -m 644 ${S}/gsettings/90_citadel.gschema.override ${D}${datadir}/glib-2.0/schemas
}
FILES_${PN} = "/"

View File

@ -1,6 +1,3 @@
# Copyright (C) 2018 Bruce Leidl <bruce@subgraph.com>
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = ""
HOMEPAGE = ""
LICENSE = "MIT"
@ -8,6 +5,15 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
SECTION = ""
DEPENDS = ""
S = "${WORKDIR}"
DEFAULT_REALM_UNITS = "\
file://systemd/launch-default-realm.path \
file://systemd/launch-default-realm.service \
file://systemd/watch-run-user.path \
file://systemd/watch-run-user.service \
"
SRC_URI = "\
file://locale.conf \
file://environment.sh \
@ -18,16 +24,22 @@ SRC_URI = "\
file://citadel-ifconfig.sh \
file://00-storage-tmpfiles.conf \
file://NetworkManager.conf \
file://zram-swap.service \
file://share/dot.vimrc \
file://polkit/citadel.rules \
file://systemd/zram-swap.service \
${DEFAULT_REALM_UNITS} \
"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "-m -u 1000 -s /bin/bash citadel"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
# for citadel-ifconfig.sh
RDEPENDS_${PN} = "bash"
inherit systemd
SYSTEMD_SERVICE_${PN} = "zram-swap.service"
inherit allarch systemd useradd
SYSTEMD_SERVICE_${PN} = "zram-swap.service watch-run-user.path"
do_install() {
install -m 0755 -d ${D}/storage
@ -50,7 +62,12 @@ do_install() {
install -m 0644 ${WORKDIR}/NetworkManager.conf ${D}${sysconfdir}/NetworkManager
install -d ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/zram-swap.service ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/systemd/zram-swap.service ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/systemd/watch-run-user.path ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/systemd/watch-run-user.service ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/systemd/launch-default-realm.path ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/systemd/launch-default-realm.service ${D}${systemd_system_unitdir}
# disable some pax and grsecurity features so that debootstrap will work
# this should be removed later

View File

@ -1,13 +0,0 @@
inherit allarch
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
S = "${WORKDIR}"
SRC_URI="file://90_citadel.gschema.override"
inherit gsettings
do_install() {
install -d ${D}${datadir}/glib-2.0/schemas
install -m 644 ${S}/90_citadel.gschema.override ${D}${datadir}/glib-2.0/schemas
}

View File

@ -1,9 +0,0 @@
inherit allarch useradd
LICENSE = "MIT"
S = "${WORKDIR}"
ALLOW_EMPTY_${PN} = "1"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "-m -u 1000 -s /bin/bash citadel"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"

View File

@ -1,29 +0,0 @@
DESCRIPTION = "Install systemd unit file to automatically start default realm"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SECTION = ""
DEPENDS = ""
inherit systemd
SRC_URI = "file://launch-default-realm.path file://launch-default-realm.service file://watch-run-user.path file://watch-run-user.service"
S = "${WORKDIR}"
SYSTEMD_SERVICE_${PN} = "watch-run-user.path"
RDEPENDS_${PN} = "bash"
FILES_${PN} += "\
${systemd_system_unitdir}/watch-run-user.service \
${systemd_system_unitdir}/launch-default-realm.path \
${systemd_system_unitdir}/launch-default-realm.service \
"
do_install() {
install -d ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/launch-default-realm.path ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/launch-default-realm.service ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/watch-run-user.path ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/watch-run-user.service ${D}${systemd_system_unitdir}
}

View File

@ -42,7 +42,6 @@ RDEPENDS_${PN} = "\
packagegroup-firmware \
vim \
vifm \
citadel-user \
tzdata \
tzdata-americas \
tzdata-asia \

View File

@ -7,7 +7,6 @@ RDEPENDS_${PN} = "\
packagegroup-gnome \
packagegroup-sway \
packagegroup-theme \
launch-default-realm \
citadel-rootfs \
citadel-realms \
"

View File

@ -20,7 +20,6 @@ RDEPENDS_${PN} = "\
gjs \
caribou \
gnome-keyring \
citadel-desktop-gsettings \
gnome-session \
gnome-shell \
adwaita-icon-theme \
@ -30,5 +29,6 @@ RDEPENDS_${PN} = "\
adwaita-icon-theme-cursors \
hicolor-icon-theme \
dash-to-panel \
citadel-config-gnome \
"