switch to walnascar
This commit is contained in:
@ -12,7 +12,7 @@ SRC_URI += "file://confd \
|
||||
file://diya.pam \
|
||||
file://xdg-terminal-exec"
|
||||
|
||||
|
||||
S = "${UNPACKDIR}"
|
||||
inherit update-rc.d useradd
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
@ -26,17 +26,17 @@ INITSCRIPT_PARAMS = "start 30 S ."
|
||||
do_install() {
|
||||
install -d ${D}/${sysconfdir}/init.d/
|
||||
install -d ${DEPLOY_DIR_IMAGE}
|
||||
install -m 0755 ${WORKDIR}/confd ${D}/${sysconfdir}/init.d/confd
|
||||
install -m 0755 ${UNPACKDIR}/confd ${D}/${sysconfdir}/init.d/confd
|
||||
install -d ${D}/sbin/
|
||||
install -d ${D}/etc/default/volatiles
|
||||
install -m 0644 ${WORKDIR}/80_diya ${D}${sysconfdir}/default/volatiles
|
||||
install -m 0755 ${WORKDIR}/expandfs.sh ${D}/sbin/expandfs.sh
|
||||
install -m 0755 ${WORKDIR}/boot-to-recovery ${D}/sbin/boot-to-recovery
|
||||
install -m 0755 ${WORKDIR}/fs_resize ${DEPLOY_DIR_IMAGE}/
|
||||
install -m 0644 ${UNPACKDIR}/80_diya ${D}${sysconfdir}/default/volatiles
|
||||
install -m 0755 ${UNPACKDIR}/expandfs.sh ${D}/sbin/expandfs.sh
|
||||
install -m 0755 ${UNPACKDIR}/boot-to-recovery ${D}/sbin/boot-to-recovery
|
||||
install -m 0755 ${UNPACKDIR}/fs_resize ${DEPLOY_DIR_IMAGE}/
|
||||
install -d ${D}/etc/pam.d
|
||||
install -m 0644 ${WORKDIR}/diya.pam ${D}${sysconfdir}/pam.d/diya
|
||||
install -m 0644 ${UNPACKDIR}/diya.pam ${D}${sysconfdir}/pam.d/diya
|
||||
install -d ${D}/usr/bin
|
||||
install -m 0755 ${WORKDIR}/xdg-terminal-exec ${D}/usr/bin
|
||||
install -m 0755 ${UNPACKDIR}/xdg-terminal-exec ${D}/usr/bin
|
||||
cat << EOF > ${DEPLOY_DIR_IMAGE}/diya-config.txt
|
||||
recovery=false
|
||||
recovery_image=recovery-${MACHINE}.cpio.gz
|
||||
|
Reference in New Issue
Block a user