A script to create a device tarball

Tim Gardner tim.gardner at canonical.com
Wed Apr 29 16:41:33 UTC 2015


I've written a developer tool that you can use to update a device 
tarball with a new kernel. I've used this to roll forward from the 15.04 
kernel (3.19) to a 4.0 kernel on the Beaglebone Black. You can find it 
here: git://kernel.ubuntu.com/rtg/snappy-tools.git

For example:

./snappy-build-oem-tarball.sh 
--deb=../linux-image-4.0.0-1-generic_4.0.0-1.1_armhf.deb 
--stball=device.tar.xz

This script extracts the relevant bits from the original device tarball 
and the kernel deb package and creates a new device tarball 
(device-oem.tar.gz).

I've not tried this on x86, but it ought to be arch independent.

rtg
-- 
Tim Gardner tim.gardner at canonical.com



More information about the snappy-devel mailing list