2017-12-12 20:20:36 +00:00
|
|
|
|
2017-12-04 21:33:20 +00:00
|
|
|
hostname="citadel"
|
2017-12-12 20:20:36 +00:00
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
2018-01-18 23:11:46 +00:00
|
|
|
SRC_URI += "\
|
|
|
|
file://locale.conf \
|
|
|
|
file://environment.sh \
|
|
|
|
file://fstab \
|
2018-01-23 03:04:36 +00:00
|
|
|
file://99-grsec-debootstrap.conf \
|
2018-01-18 23:11:46 +00:00
|
|
|
"
|
2017-12-12 20:20:36 +00:00
|
|
|
|
|
|
|
do_install_append () {
|
|
|
|
install -m 0755 -d ${D}/storage
|
2018-01-23 03:04:36 +00:00
|
|
|
install -m 0755 -d ${D}/var/lib/machines
|
2018-01-18 23:11:46 +00:00
|
|
|
install -m 0755 -d ${D}${sysconfdir}/profile.d
|
|
|
|
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
|
2018-01-23 03:04:36 +00:00
|
|
|
|
|
|
|
# disable some pax and grsecurity features so that debootstrap will work
|
|
|
|
# this should be removed later
|
|
|
|
install -d ${D}${libdir}/sysctl.d
|
|
|
|
install -m 0644 ${WORKDIR}/99-grsec-debootstrap.conf ${D}${libdir}/sysctl.d/
|
2017-12-12 20:20:36 +00:00
|
|
|
}
|