From ec64b2418ccef1e14c6e58b8ca81bb9162c1dfeb Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Wed, 8 Jul 2015 11:08:01 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- recipes-core/base-files/base-files_3.0.14.bbappend | 5 +++++ recipes-core/busybox/busybox/getopt.cfg | 2 ++ recipes-core/busybox/busybox/lspci.cfg | 1 + recipes-core/busybox/busybox/lsusb.cfg | 1 + recipes-core/busybox/busybox/mdev.cfg | 6 ++++++ recipes-core/busybox/busybox/mount-cifs.cfg | 1 + recipes-core/busybox/busybox/ps-extras.cfg | 3 +++ recipes-core/busybox/busybox_1.22.1.bbappend | 10 ++++++++++ recipes-core/initscripts/initscripts_1.0.bbappend | 16 ++++++++++++++++ recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | 6 ++++++ 10 files changed, 51 insertions(+) create mode 100644 recipes-core/base-files/base-files_3.0.14.bbappend create mode 100644 recipes-core/busybox/busybox/getopt.cfg create mode 100644 recipes-core/busybox/busybox/lspci.cfg create mode 100644 recipes-core/busybox/busybox/lsusb.cfg create mode 100644 recipes-core/busybox/busybox/mdev.cfg create mode 100644 recipes-core/busybox/busybox/mount-cifs.cfg create mode 100644 recipes-core/busybox/busybox/ps-extras.cfg create mode 100644 recipes-core/busybox/busybox_1.22.1.bbappend create mode 100644 recipes-core/initscripts/initscripts_1.0.bbappend create mode 100644 recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend (limited to 'recipes-core') diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend new file mode 100644 index 00000000..eb973adf --- /dev/null +++ b/recipes-core/base-files/base-files_3.0.14.bbappend @@ -0,0 +1,5 @@ +do_install_append() { + if echo "${DISTRO_FEATURES}" | grep -q 'xen'; then + echo "xenfs /proc/xen xenfs defaults 0 0" >> ${D}${sysconfdir}/fstab + fi +} diff --git a/recipes-core/busybox/busybox/getopt.cfg b/recipes-core/busybox/busybox/getopt.cfg new file mode 100644 index 00000000..8dcd3504 --- /dev/null +++ b/recipes-core/busybox/busybox/getopt.cfg @@ -0,0 +1,2 @@ +CONFIG_GETOPT=y +CONFIG_FEATURE_GETOPT_LONG=y diff --git a/recipes-core/busybox/busybox/lspci.cfg b/recipes-core/busybox/busybox/lspci.cfg new file mode 100644 index 00000000..6458af84 --- /dev/null +++ b/recipes-core/busybox/busybox/lspci.cfg @@ -0,0 +1 @@ +CONFIG_LSPCI=y diff --git a/recipes-core/busybox/busybox/lsusb.cfg b/recipes-core/busybox/busybox/lsusb.cfg new file mode 100644 index 00000000..2aba6ef6 --- /dev/null +++ b/recipes-core/busybox/busybox/lsusb.cfg @@ -0,0 +1 @@ +CONFIG_LSUSB=y diff --git a/recipes-core/busybox/busybox/mdev.cfg b/recipes-core/busybox/busybox/mdev.cfg new file mode 100644 index 00000000..f8d6da82 --- /dev/null +++ b/recipes-core/busybox/busybox/mdev.cfg @@ -0,0 +1,6 @@ +CONFIG_MDEV=y +CONFIG_FEATURE_MDEV_CONF=y +CONFIG_FEATURE_MDEV_RENAME=y +CONFIG_FEATURE_MDEV_RENAME_REGEXP=y +CONFIG_FEATURE_MDEV_EXEC=y +CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y diff --git a/recipes-core/busybox/busybox/mount-cifs.cfg b/recipes-core/busybox/busybox/mount-cifs.cfg new file mode 100644 index 00000000..88f0404f --- /dev/null +++ b/recipes-core/busybox/busybox/mount-cifs.cfg @@ -0,0 +1 @@ +CONFIG_FEATURE_MOUNT_CIFS=y diff --git a/recipes-core/busybox/busybox/ps-extras.cfg b/recipes-core/busybox/busybox/ps-extras.cfg new file mode 100644 index 00000000..74346355 --- /dev/null +++ b/recipes-core/busybox/busybox/ps-extras.cfg @@ -0,0 +1,3 @@ +CONFIG_DESKTOP=y +CONFIG_FEATURE_PS_TIME=y +CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=y diff --git a/recipes-core/busybox/busybox_1.22.1.bbappend b/recipes-core/busybox/busybox_1.22.1.bbappend new file mode 100644 index 00000000..8369a031 --- /dev/null +++ b/recipes-core/busybox/busybox_1.22.1.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " \ + file://lspci.cfg \ + file://lsusb.cfg \ + file://mdev.cfg \ + file://mount-cifs.cfg \ + file://ps-extras.cfg \ + file://getopt.cfg \ + " diff --git a/recipes-core/initscripts/initscripts_1.0.bbappend b/recipes-core/initscripts/initscripts_1.0.bbappend new file mode 100644 index 00000000..0600ab2a --- /dev/null +++ b/recipes-core/initscripts/initscripts_1.0.bbappend @@ -0,0 +1,16 @@ +do_install_append() { + + echo >> ${D}${sysconfdir}/init.d/functions + echo success \(\) \{ >> ${D}${sysconfdir}/init.d/functions + echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions + echo \} >> ${D}${sysconfdir}/init.d/functions + echo failure \(\) \{ >> ${D}${sysconfdir}/init.d/functions + echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions + echo \} >> ${D}${sysconfdir}/init.d/functions + echo warning \(\) \{ >> ${D}${sysconfdir}/init.d/functions + echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions + echo \} >> ${D}${sysconfdir}/init.d/functions + echo begin \(\) \{ >> ${D}${sysconfdir}/init.d/functions + echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions + echo \} >> ${D}${sysconfdir}/init.d/functions +} diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend new file mode 100644 index 00000000..1b89aecd --- /dev/null +++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend @@ -0,0 +1,6 @@ +do_install_append() { + if echo "${DISTRO_FEATURES}" | grep -q 'xen'; then + echo "" >> ${D}${sysconfdir}/inittab + echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab + fi +} -- cgit v1.2.3-54-g00ecf