diff options
-rw-r--r-- | conf/distro/openzaurus.conf | 4 | ||||
-rw-r--r-- | packages/openzaurus/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/openzaurus/openzaurus-version.bb | 8 |
3 files changed, 11 insertions, 1 deletions
diff --git a/conf/distro/openzaurus.conf b/conf/distro/openzaurus.conf index b110ad84e9..edcbacc80e 100644 --- a/conf/distro/openzaurus.conf +++ b/conf/distro/openzaurus.conf @@ -11,8 +11,10 @@ INHERIT += " package_ipk debian" TARGET_OS = "linux" TARGET_FPU = "soft" +BOOTSTRAP_EXTRA_RDEPENDS += "openzaurus-version" + PARALLEL_INSTALL_MODULES = "1" DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}" -include conf/distro/include/multimachine.conf
\ No newline at end of file +include conf/distro/include/multimachine.conf diff --git a/packages/openzaurus/.mtn2git_empty b/packages/openzaurus/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/openzaurus/.mtn2git_empty diff --git a/packages/openzaurus/openzaurus-version.bb b/packages/openzaurus/openzaurus-version.bb new file mode 100644 index 0000000000..925c54ef5b --- /dev/null +++ b/packages/openzaurus/openzaurus-version.bb @@ -0,0 +1,8 @@ +MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" +PV = ${DISTRO_VERSION} + +do_compile() { + mkdir -p ${D}${sysconfdir} + echo "OpenZaurus ${DISTRO_VERSION}" > ${D}${sysconfdir}/openzaurus-version + +} |