41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
|
|
hostname="subgraph"
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
SRC_URI += "\
|
|
file://locale.conf \
|
|
file://environment.sh \
|
|
file://fstab \
|
|
file://99-grsec-debootstrap.conf \
|
|
file://00-storage-tmpfiles.conf \
|
|
file://NetworkManager.conf \
|
|
"
|
|
|
|
dirs1777_remove = "${localstatedir}/volatile/tmp"
|
|
dirs755="/boot /dev /usr/bin /usr/sbin /usr/lib /etc /etc/default /etc/skel /usr/lib /mnt /proc /home/root /run /usr /usr/bin /usr/share/doc/base-files-3.0.14 /usr/include /usr/lib /usr/sbin /usr/share /usr/share/common-licenses /usr/share/info /usr/share/man /usr/share/misc /var /sys /home /media"
|
|
|
|
volatiles = ""
|
|
|
|
do_install_append () {
|
|
install -m 0755 -d ${D}/storage
|
|
install -d ${D}${libdir}/sysctl.d
|
|
install -m 0755 -d ${D}${sysconfdir}/profile.d
|
|
install -m 0755 -d ${D}${sysconfdir}/tmpfiles.d
|
|
install -m 0755 -d ${D}${sysconfdir}/NetworkManager
|
|
install -m 0700 -d ${D}${localstatedir}/lib/NetworkManager
|
|
install -m 0700 -d ${D}${localstatedir}/lib/NetworkManager/system-connections
|
|
|
|
install -m 0644 ${WORKDIR}/locale.conf ${D}${sysconfdir}/locale.conf
|
|
install -m 0644 ${WORKDIR}/environment.sh ${D}${sysconfdir}/profile.d/environment.sh
|
|
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
|
|
install -m 0644 ${WORKDIR}/00-storage-tmpfiles.conf ${D}${sysconfdir}/tmpfiles.d
|
|
install -m 0644 ${WORKDIR}/NetworkManager.conf ${D}${sysconfdir}/NetworkManager
|
|
|
|
# disable some pax and grsecurity features so that debootstrap will work
|
|
# this should be removed later
|
|
install -m 0644 ${WORKDIR}/99-grsec-debootstrap.conf ${D}${libdir}/sysctl.d/
|
|
|
|
ln -s /storage/citadel-state/resolv.conf ${D}${sysconfdir}/resolv.conf
|
|
ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/etc.conf
|
|
ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/home.conf
|
|
}
|