diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-01-23 13:18:11 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-23 13:18:11 +0000 |
commit | 81ad135fd56fde3f8094cf81a0b014da38484102 (patch) | |
tree | 26d9ae4f63048963f3b63ba6a3c6e9858a2a67e9 | |
parent | d535733c00164b7bc206a7f963aa9154b495d2c7 (diff) |
openzaurus branding: new package 'openzaurus-version' contain /etc/openzaurus-version
- support in gpe-conf/sysinfo is planned in 0.1.29
- support in opie/sysinfo is in CVS, will be backported
-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 + +} |