--- linaro-image-tools-0.4.2.orig/debian/rules +++ linaro-image-tools-0.4.2/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +export PATH := $(PATH):/sbin + +%: + dh --buildsystem=python_distutils --with-addon=python2 $* + +override_dh_auto_test: + # XXX: The test-suite currently fails on Lucid. What can we do about + # it? + python -m testtools.run tests.test_suite --- linaro-image-tools-0.4.2.orig/debian/python-linaro-media-create.install +++ linaro-image-tools-0.4.2/debian/python-linaro-media-create.install @@ -0,0 +1 @@ +usr/lib/python*/dist-packages/linaro_media_create --- linaro-image-tools-0.4.2.orig/debian/copyright +++ linaro-image-tools-0.4.2/debian/copyright @@ -0,0 +1,26 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: Linaro Image Tools +Source: https://code.launchpad.net/linaro-image-tools + +Copyright: 2010, Robert Nelson + 2010, Linaro +License: GPL-3+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 3 as published by the Free Software Foundation. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian and Ubuntu systems, the full text of the GNU General + Public License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. + --- linaro-image-tools-0.4.2.orig/debian/python-hwpack.install +++ linaro-image-tools-0.4.2/debian/python-hwpack.install @@ -0,0 +1 @@ +usr/lib/python*/dist-packages/hwpack --- linaro-image-tools-0.4.2.orig/debian/control +++ linaro-image-tools-0.4.2/debian/control @@ -0,0 +1,68 @@ +Source: linaro-image-tools +Section: devel +Priority: optional +Build-Depends: debhelper (>= 7.0.50~), + python (>= 2.6.5-1~), + python-all, + python-debian (>= 0.1.16ubuntu1), + python-dbus, + python-distutils-extra, + python-apt, + python-parted, + python-testtools (>> 0.9.5), + python-argparse, + qemu-kvm, + command-not-found, + u-boot-tools | uboot-mkimage +Standards-Version: 3.9.1 +Maintainer: Linaro Developers +XS-Python-Version: >= 2.5 + +Package: linaro-image-tools +Architecture: all +Depends: ${misc:Depends}, + parted, + dosfstools, + u-boot-tools | uboot-mkimage, + python, + python-hwpack (>= ${source:Version}), + python-argparse, + python-dbus, + python-debian (>= 0.1.16ubuntu1), + python-linaro-media-create (>= ${source:Version}), + python-parted, + sudo +Recommends: qemu-kvm-extras-static, + qemu-kvm, + btrfs-tools, + command-not-found +Description: collection of tools to work with Linaro images + This package offers a set of tools for use with Linaro images. + . + The provided linaro-media-create command allows writing Linaro images + to a SD card, or generating an image file which you can boot in QEMU. + +Package: python-hwpack +Architecture: all +Section: python +Depends: ${python:Depends}, + ${misc:Depends}, + python-apt +Description: Python library for the creation of hardware packs + Hardware packs allow for the distribution of packages to be combined with + an image to create a root filesystem at a later date. + . + This package provides a Python library to aid with the creation of hardware + packs. + +Package: python-linaro-media-create +Architecture: all +Section: python +Depends: ${python:Depends}, + ${misc:Depends} +Description: Python library for the creation of Linaro bootable media + Linaro images are generated by combining generic tarballs with + hardware-specific packs (hwpacks). + . + This package provides a Python library to generate Linaro images and write + them to SD cards or image files that you can be boot in QEMU. --- linaro-image-tools-0.4.2.orig/debian/changelog +++ linaro-image-tools-0.4.2/debian/changelog @@ -0,0 +1,139 @@ +linaro-image-tools (0.4.2-0ubuntu2) natty; urgency=low + + * Depend on sudo until it's made optional (e.g. when running + linaro-media-create within sudo). + + -- Loïc Minier Sat, 29 Jan 2011 17:29:49 +0100 + +linaro-image-tools (0.4.2-0ubuntu1) natty; urgency=low + + * New upstream release. + - Switch to non-native mode and drop Vcs-Bzr. + - Build-depend on python-distutils-extra for DistutilsExtra. + - Fixes support for mx51evk images; LP: #705410. + - New or noteworthy: + . Support for Gumstix Overo boards has been added. + . Support for Freescale mx51evk (Babbage) boards has been fixed. + . Support for ARM Versatile Express boards has been fixed. + . The fdisk command is not required anymore. + . The UUID of the rootfs is not pre-computed anymore; this allows btrfs + to be used for the root filesystem. + . Linaro Image Tools are now released as a standalone tarball; you need + https://launchpad.net/python-distutils-extra to run setup.py. + . Support for 10.11 / linaro-m images has been restored. + . The hardware pack handling code is now GPLv2+ + * Append /sbin to PATH and export it as to locate parted and sfdisk. + + -- Loïc Minier Fri, 28 Jan 2011 22:09:14 +0100 + +linaro-image-tools (0.4.1) natty; urgency=low + + * Brown paperbag release. + * Sort files in commands ran by linaro_media_create.rootfs.move_contents() + as this breaks the testsuite on some filesystems. + * Disable pkgbinarymangler when running the testsuite as it might cause some + stderr output which confuses it. + * Uppercase Python in python-linaro-media-create long description. + * Drop util-linux from Depends as it's Essential. + * Update Build-Deps for testsuite requirements (qemu-kvm for qemu-img, + u-boot | uboot-mkimage for mkimage and command-not-found for + CommandNotFound) and recommend command-not-found to locate the package of + missing commands. + + -- Loïc Minier Wed, 19 Jan 2011 19:32:38 +0100 + +linaro-image-tools (0.4) natty; urgency=low + + IMPORTANT: this version of linaro-image-tools breaks support for 10.05 + images; we hope to restore this support really soon but it was more + important to release this update and have support for linaro-n images. + + * New major release + - Large parts rewritten in Python (Michael Hudson, Guilherme Salgado, + James Westby, Martin Ohlsson). + - Various bug fixes. + - Notify users that apt-get will be run in target rootfs (Martin Ohlsson); + LP: #651906 + - Use fdisk -l for output rather than sfdisk -l (Martin Ohlsson); + LP: #673410. + - Allow passing multiple --hwpack when creating an image (Michael Hudson). + - Add --hwpack-force-yes to linaro-media-create to forcibly install + unauthenticated packages (Michael Hudson). + - hwpack-create now has a --debug option (James Westby). + - hwpack creation now outputs a manifest external to the hwpack as well + (Michael Hudson). + - Add ability to add local .debs to the hwpack with --local-deb + (Michael Hudson). + - Update dependencies; new deps on python-testtools, python-parted, + python-dbus and more, drop obsolete deps. + * Fix support of space in pathnames (Paul Larson). + * Update Depends to cope with mkimage moving from uboot-mkimage to + u-boot-tools. + * Fix empty Vcs-Bzr. + * Strict >= ${source:Version} dependency on python-hwpack. + * Use python2 dh sequence instead of python-support; add a python >= + 2.6.5-1~ build-dep. + * Uppercase Python in description (lintian). + * Various cleanups. + * Drop omapfb.debug=y from kernel cmdlines as DSS2 is stable nowadays. + + -- Loïc Minier Thu, 23 Dec 2010 14:41:29 +0100 + +linaro-image-tools (0.3) maverick-proposed; urgency=low + + [ Steve Langasek ] + * no longer using the 'omap' uboot flavor support in live-helper; instead, + run the mkimage commands directly for omap. + * fix the paths used for looking up x-loader and u-boot binaries in the + tarball; these don't belong in /boot at all, pull them from /usr/lib. + * only enforce the presence of commands we're actually using; this lets + us automatically pull in btrfs-tools when btrfs is specified. + * add sudo to a couple more commands in linaro-media-create, so the script + itself can run as non-root as intended. + + [ James Westby ] + * Add a linaro-hwpack-create script for the creation of hardware packs. + + [ Steve Langasek ] + * Fix lookup of linaro-hwpack-install to work correctly when l-m-c is on + the path. Closes: #652669. + + [ Loïc Minier ] + * Drop spurious single quote character in boot_args_options for beagle|igep; + thanks Peter Maydell; LP: #667400. + * Set LC_ALL=C when entering the chroot as it has no locales. LP: #651905. + + [ Tom Gall ] + * Use --numeric-owner argument to tar when unpacking, so that files get + the right owner on boot of the image. LP: #652121. + + [ Dave Martin ] + * Implement proper cleanup handling on signal / exit, so that we don't + leave clutter behind on error. This also fixes the message at the end of + a successful install about being unable to unmount proc. LP: #616385, + #660196, #667394, #643601, #627383. + + -- Steve Langasek Tue, 09 Nov 2010 12:50:26 -0800 + +linaro-image-tools (0.2) maverick; urgency=low + + [ James Westby ] + * Add a module that provides some improvements to tarfile. + * Add some matchers for testing the content of tarfiles. + * Add the skeleton code to create empty hardware packs. + + [ Torez Smith ] + * Add IGEP support; LP: #627611. + + [ Loïc Minier ] + * Fix deps in control as well: depend on uuid-runtime rather than + uuidgen-runtime and do not depend on util-linux, e2fsprogs and coreutils + as these are Essential: yes; thanks Colin Watson. + + -- Loïc Minier Sun, 05 Sep 2010 10:26:20 +0200 + +linaro-image-tools (0.1) maverick; urgency=low + + * Initial packaging + + -- Loïc Minier Tue, 31 Aug 2010 22:32:49 +0200 --- linaro-image-tools-0.4.2.orig/debian/compat +++ linaro-image-tools-0.4.2/debian/compat @@ -0,0 +1 @@ +7 --- linaro-image-tools-0.4.2.orig/debian/linaro-image-tools.install +++ linaro-image-tools-0.4.2/debian/linaro-image-tools.install @@ -0,0 +1,3 @@ +linaro-media-create usr/bin +linaro-hwpack-install usr/bin +linaro-hwpack-create usr/bin