From 9275be14b544aea8fd376a6602d21669404c5093 Mon Sep 17 00:00:00 2001 From: "nslu2-linux.adm@bkbits.net" Date: Sun, 12 Jun 2005 21:40:09 +0000 Subject: Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/12 23:35:14+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/06/12 22:51:57+02:00 (none)!br1 wrt cleanup 2005/06/12 22:49:31+02:00 (none)!br1 Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into null.(none):/data/mtx/src/build/unstable.wrt/openembedded 2005/06/12 22:02:49+02:00 (none)!br1 add squashfs-lzma patches for smaller wrt images 2005/06/12 17:25:32+02:00 (none)!br1 wrt updates: create squashfs and jffs2 images 2005/06/12 16:35:25+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/06/12 14:43:00+02:00 uni-frankfurt.de!mickeyl pygtk rdepends on python-shell BKrev: 42acabb9DYchxo1fFJnbe2sjmsq4GQ --- packages/squashfs-tools/files/squashfs2.0-tools-lzma.patch | 0 packages/squashfs-tools/squashfs-tools-native_2.0r2.bb | 12 ++++++++++++ packages/squashfs-tools/squashfs-tools_2.0r2.bb | 9 ++++++++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 packages/squashfs-tools/files/squashfs2.0-tools-lzma.patch (limited to 'packages/squashfs-tools') diff --git a/packages/squashfs-tools/files/squashfs2.0-tools-lzma.patch b/packages/squashfs-tools/files/squashfs2.0-tools-lzma.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/squashfs-tools/squashfs-tools-native_2.0r2.bb b/packages/squashfs-tools/squashfs-tools-native_2.0r2.bb index e69de29bb2..569bf8dad2 100644 --- a/packages/squashfs-tools/squashfs-tools-native_2.0r2.bb +++ b/packages/squashfs-tools/squashfs-tools-native_2.0r2.bb @@ -0,0 +1,12 @@ +SECTION = "base" +PN_BASE = "squashfs-tools" +include ${PN_BASE}_${PV}.bb +inherit native + +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/${PN_BASE}-${PV}', '${FILE_DIRNAME}/${PN_BASE}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" +PACKAGES = "" + +do_stage () { + install -m 0755 mksquashfs ${STAGING_BINDIR}/ + install -m 0755 mksquashfs-lzma ${STAGING_BINDIR}/ +} diff --git a/packages/squashfs-tools/squashfs-tools_2.0r2.bb b/packages/squashfs-tools/squashfs-tools_2.0r2.bb index 601724a5cb..f99cdb798e 100644 --- a/packages/squashfs-tools/squashfs-tools_2.0r2.bb +++ b/packages/squashfs-tools/squashfs-tools_2.0r2.bb @@ -4,12 +4,19 @@ MAINTAINER = "Chris Larson " LICENSE = "GPLv2" SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tar.gz \ - file://flags.patch;patch=1" + file://flags.patch;patch=1 \ + file://squashfs2.0-tools-lzma.patch;patch=1" S = "${WORKDIR}/squashfs${PV}/squashfs-tools" prefix = "" +do_compile() { + oe_runmake + oe_runmake mksquashfs-lzma +} + do_install () { install -d ${D}${sbindir} install -m 0755 mksquashfs ${D}${sbindir}/ + install -m 0755 mksquashfs-lzma ${D}${sbindir}/ } -- cgit v1.2.3