blob: 04d830c77584c0a8a596f5ba3252495b8c052c2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
export IMAGE_BASENAME = "gpe-image"
DEPENDS = 'task-bootstrap \
diet-x11 xserver-kdrive matchbox-wm matchbox-desktop matchbox-panel \
meta-gpe ttf-bitstream-vera'
export IPKG_INSTALL = 'task-bootstrap xserver-kdrive-fbdev \
gpe ttf-bitstream-vera pango-module-basic-x pango-module-basic-fc \
glibc-gconv glibc-gconv-iso8859-1 gdk-pixbuf-loader-png'
zap_root_password () {
sed 's%^root:[^:]*:%root:*:%' < ${IMAGE_ROOTFS}/etc/passwd >${IMAGE_ROOTFS}/etc/passwd.new
mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd
}
IMAGE_POSTPROCESS_COMMAND = "zap_root_password"
inherit image_ipk
|