dreambox-console-image: don't install systemd-extra-utils by default
[opendreambox.git] / meta-opendreambox / recipes-dreambox / images / dreambox-rescue-image.bb
1 inherit image
2
3 BAD_RECOMMENDATIONS += " \
4         busybox-syslog \
5         lighttpd-module-access \
6         lighttpd-module-accesslog \
7         udev-hwdb \
8         update-rc.d \
9 "
10
11 IMAGE_FEATURES = "empty-root-password"
12 IMAGE_FSTYPES = "cpio"
13 IMAGE_INSTALL = " \
14         base-files \
15         base-passwd \
16         busybox \
17         devnodes-minimal \
18         dreambox-dvb-modules-stb-core \
19         dropbear \
20         e2fsprogs-e2fsck \
21         google-dns \
22         init-ifupdown \
23         initscripts \
24         kmod \
25         modutils-initscripts \
26         netbase \
27         procps \
28         recovery-ui \
29         recovery-web \
30         sysvinit \
31         udev \
32         xfsprogs-mkfs \
33 "
34 IMAGE_LINGUAS = ""
35 IMAGE_ROOTFS_SIZE = "16384"
36 USE_DEVFS = "1"
37
38 ISSUE_TEXT  = ">>> Your Dreambox has booted into RESCUE MODE.\n"
39 ISSUE_TEXT .= ">>> Please log in as user 'root' (no password required),\n"
40 ISSUE_TEXT .= ">>> then run 'help' to get further information.\n"
41 ISSUE_TEXT .= "\n"
42
43 tweak_initramfs() {
44         touch ${IMAGE_ROOTFS}${sysconfdir}/initrd-release
45         printf "${ISSUE_TEXT}" >> ${IMAGE_ROOTFS}${sysconfdir}/issue
46         printf "${ISSUE_TEXT}" >> ${IMAGE_ROOTFS}${sysconfdir}/issue.net
47 }
48
49 ROOTFS_POSTPROCESS_COMMAND += "tweak_initramfs; "