mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-07-31 05:00:42 +02:00
add patch_rootfs to image process
This commit is contained in:
@ -28,12 +28,3 @@ do_install() {
|
||||
install -m 0755 ${WORKDIR}/expandfs.sh ${D}/usr/bin/expandfs.sh
|
||||
install -m 0755 ${WORKDIR}/fs_resize ${DEPLOY_DIR_IMAGE}/
|
||||
}
|
||||
|
||||
pkg_postinst:${PN}-patch () {
|
||||
#!/bin/sh
|
||||
install -d ${D}/var/etc
|
||||
install -m 0644 ${D}/etc/passwd ${D}/var/etc/
|
||||
install -m 0644 ${D}/etc/group ${D}/var/etc/
|
||||
rm ${D}/etc/passwd
|
||||
rm ${D}/etc/group
|
||||
}
|
Reference in New Issue
Block a user