mirror of
https://github.com/ggrandou/abootimg.git
synced 2024-11-23 09:53:32 +08:00
added debian packaging scripts made by Heiko for abootimg_0.3-1
This commit is contained in:
parent
b19301beb0
commit
9b8c83da5e
69
debian/abootimg.1
vendored
Normal file
69
debian/abootimg.1
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
.TH ABOOTIMG 1
|
||||
.SH NAME
|
||||
abootimg \- manipulate Android Boot Images.
|
||||
.SH DESCRIPTION
|
||||
Tool to read/write/update android boot images
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B abootimg
|
||||
\-i <bootimg>
|
||||
.br
|
||||
.B abootimg
|
||||
\-x <bootimg> [<bootimg.cfg> [<kernel> [<ramdisk> [<secondstage>]]]]
|
||||
.br
|
||||
.B abootimg
|
||||
\-u <bootimg> [\-c "param=value"] [\-f <bootimg.cfg>] [\-k <kernel>] [\-r <ramdisk>] [\-s <secondstage>]
|
||||
.br
|
||||
.B abootimg
|
||||
\-\-create <bootimg> [\-c "param=value"] [\-f <bootimg.cfg>] \-k <kernel> \-r <ramdisk> [\-s <secondstage>]
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-i
|
||||
print boot imgage informations
|
||||
.TP
|
||||
.B \-x
|
||||
Extract a boot image
|
||||
.TP
|
||||
.B \-u
|
||||
Update a boot image
|
||||
.TP
|
||||
.B \-\-create
|
||||
Create a boot image
|
||||
|
||||
.SS "Options for extracting boot images"
|
||||
.TP
|
||||
.B bootimg
|
||||
Existing bootimage to use
|
||||
.TP
|
||||
.B bootimg.cfg
|
||||
Name for the bootimg.cfg file, defaults to bootimg.cfg
|
||||
.TP
|
||||
.B kernel
|
||||
Name for the kernel image, defaults to zImage
|
||||
.TP
|
||||
.B ramdisk
|
||||
Name for the ramdisk image, defaults to initrd.img
|
||||
.TP
|
||||
.B secondstage
|
||||
Name for the second-stage image, defaults to stage2.img
|
||||
|
||||
.SS "Options for updating and creating boot images"
|
||||
.TP
|
||||
.B bootimg
|
||||
Existing bootimage to use
|
||||
.TP
|
||||
.B \-c "param=value"
|
||||
Existing bootimage to use
|
||||
.TP
|
||||
.B \-f <bootimg.cfg>
|
||||
Update bootimg.cfg with the named file
|
||||
.TP
|
||||
.B \-k <kernel>
|
||||
Update kernel with the named file
|
||||
.TP
|
||||
.B \-r <ramdisk>
|
||||
Update ramdisk with the named file
|
||||
.TP
|
||||
.B \-s <secondstage>
|
||||
Update secondstage image with the named file
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
abootimg (0.3-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #612096)
|
||||
|
||||
-- Heiko Stuebner <mmind@debian.org> Sat, 12 Feb 2011 12:04:10 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
7
|
20
debian/control
vendored
Normal file
20
debian/control
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
Source: abootimg
|
||||
Section: admin
|
||||
Priority: extra
|
||||
Maintainer: Heiko Stuebner <mmind@debian.org>
|
||||
Build-Depends: debhelper (>= 7), cdbs (>= 0.4.49), libblkid-dev
|
||||
Standards-Version: 3.9.1
|
||||
Homepage: http://gitorious.org/ac100/abootimg
|
||||
|
||||
Package: abootimg
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Tool to read/write/update android boot images
|
||||
Android devices use a special partition format to boot any
|
||||
operating system on the devices. These boot-images contain
|
||||
a kernel image, a ramdisk, optionally a 2nd stage boot loader
|
||||
and the commandline passed to the kernel when booting.
|
||||
The original mkbootimg from Android can only create these images
|
||||
where abootimg can also extract and modify them.
|
||||
Handling android boot images is necessary when bringing other
|
||||
operating systems to android devices.
|
46
debian/copyright
vendored
Normal file
46
debian/copyright
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
This package was debianized by Heiko Stuebner <mmind@debian.org> on
|
||||
Sat, 12 Feb 2011 10:44:12 +0100.
|
||||
|
||||
It was downloaded from http://gitorious.org/ac100/abootimg
|
||||
|
||||
Upstream Author:
|
||||
|
||||
Gilles Grandou <gilles@grandou.net>
|
||||
|
||||
Copyright:
|
||||
|
||||
Copyright (c) 2010 Gilles Grandou <gilles@grandou.net>
|
||||
|
||||
License:
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
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 program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
On Debian systems, the complete text of the GNU Library
|
||||
General Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
except bootimg.h
|
||||
|
||||
Copyright 2007, The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
On Debian systems, the complete text of the Apache License Version 2.0
|
||||
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
||||
|
||||
|
||||
The Debian packaging is copyright 2011, Heiko Stuebner <mmind@debian.org> and
|
||||
is licensed under the GPL version 2, see `/usr/share/common-licenses/GPL-2'.
|
2
debian/dirs
vendored
Normal file
2
debian/dirs
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
usr/bin
|
||||
usr/share/doc/abootimg
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
@ -0,0 +1 @@
|
||||
README
|
16
debian/gbp.conf
vendored
Normal file
16
debian/gbp.conf
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# Configuration file for git-buildpackage and friends
|
||||
|
||||
[DEFAULT]
|
||||
# the default build command:
|
||||
#builder = debuild -i -I
|
||||
# the default clean command:
|
||||
#cleaner = debuild clean
|
||||
# the default branch for upstream sources:
|
||||
#upstream-branch = upstream
|
||||
# the default branch for the debian patch:
|
||||
#debian-branch = master
|
||||
# the default tag formats used:
|
||||
#upstream-tag = upstream/%(version)s
|
||||
#debian-tag = debian/%(version)s
|
||||
# use pristine-tar:
|
||||
pristine-tar = True
|
14
debian/rules
vendored
Executable file
14
debian/rules
vendored
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/makefile.mk
|
||||
|
||||
binary-install/abootimg::
|
||||
dh_installman $(CURDIR)/debian/abootimg.1
|
||||
install $(CURDIR)/abootimg $(CURDIR)/debian/abootimg/usr/bin
|
||||
install $(CURDIR)/pack-initrd $(CURDIR)/debian/abootimg/usr/share/doc/abootimg
|
||||
install $(CURDIR)/unpack-initrd $(CURDIR)/debian/abootimg/usr/share/doc/abootimg
|
||||
|
||||
clean::
|
||||
rm -rf files/agtl.egg-info
|
||||
rm -rf tmp
|
Loading…
Reference in New Issue
Block a user