Skip to content

Commit

Permalink
LINARO: Add generic linaro packaging
Browse files Browse the repository at this point in the history
Signed-off-by: John Rigby <john.rigby@linaro.org>
  • Loading branch information
John Rigby committed Nov 15, 2010
1 parent 77dbd93 commit 49ddf7b
Show file tree
Hide file tree
Showing 78 changed files with 6,111 additions and 0 deletions.
Empty file.
3 changes: 3 additions & 0 deletions debian.linaro/config/armel/config.common.armel
@@ -0,0 +1,3 @@
#
# Config options for config.common.armel automatically generated by splitconfig.pl
#
3 changes: 3 additions & 0 deletions debian.linaro/config/armel/config.flavour.%FLAVOUR%
@@ -0,0 +1,3 @@
#
# Config options for config.flavour.%FLAVOUR% automatically generated by splitconfig.pl
#
3 changes: 3 additions & 0 deletions debian.linaro/config/config.common.ubuntu
@@ -0,0 +1,3 @@
#
# Common config options automatically generated by splitconfig.pl
#
57 changes: 57 additions & 0 deletions debian.linaro/config/enforce
@@ -0,0 +1,57 @@
#
# SECURITY items
#
# Ensure this option is enabled.
value CONFIG_COMPAT_BRK n
value CONFIG_DEVKMEM n
value CONFIG_LSM_MMAP_MIN_ADDR 0
value CONFIG_SECURITY y
!exists CONFIG_SECURITY_FILE_CAPABILITIES | value CONFIG_SECURITY_FILE_CAPABILITIES y
value CONFIG_SECURITY_SELINUX y
value CONFIG_SECURITY_SMACK y
value CONFIG_SECURITY_YAMA y
value CONFIG_SYN_COOKIES y
value CONFIG_DEFAULT_SECURITY_APPARMOR y
# For architectures which support this option ensure it is enabled.
!exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
!exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
!exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
# For architectures which support this option ensure it is disabled.
!exists CONFIG_COMPAT_VDSO | value CONFIG_COMPAT_VDSO n
# Default to 32768 for armel, 65536 for everything else.
(( arch armel | arch sparc ) & value CONFIG_DEFAULT_MMAP_MIN_ADDR 32768 ) | \
( value CONFIG_DEFAULT_MMAP_MIN_ADDR 65536)

# CONFIG_USB_DEVICE_FS breaks udev USB firmware loading and is deprecated
# ensure it is disabled.
value CONFIG_USB_DEVICEFS n

# upstart requires DEVTMPFS be enabled and mounted by default.
value CONFIG_DEVTMPFS y
value CONFIG_DEVTMPFS_MOUNT y

# some /dev nodes require POSIX ACLs, like /dev/dsp
value CONFIG_TMPFS_POSIX_ACL y

# Ramdisk size should be a minimum of 64M
value CONFIG_BLK_DEV_RAM_SIZE 65536

# LVM requires dm_mod built in to activate correctly (LP: #560717)
value CONFIG_BLK_DEV_DM y

# sysfs: ensure all DEPRECATED items are off
value CONFIG_SYSFS_DEPRECATED_V2 n
!exists CONFIG_SYSFS_DEPRECATED | value CONFIG_SYSFS_DEPRECATED n

# automatically add local version will cause packaging failure
value CONFIG_LOCALVERSION_AUTO n

# provide framebuffer console form the start
# UbuntuSpec:foundations-m-grub2-boot-framebuffer
value CONFIG_FRAMEBUFFER_CONSOLE y

# GRUB changes will rely on built in vesafb on x86,
# UbuntuSpec:foundations-m-grub2-boot-framebuffer
(( arch i386 | arch amd64 ) & value CONFIG_FB_VESA y) | \
value CONFIG_FB_VESA m | !exists CONFIG_FB_VESA
77 changes: 77 additions & 0 deletions debian.linaro/control.d/flavour-control.stub
@@ -0,0 +1,77 @@
# Items that get replaced:
# FLAVOUR
# DESC
# ARCH
# SUPPORTED
# TARGET
# BOOTLOADER
# =PROVIDES=
#
# Items marked with =FOO= are optional
#
# This file describes the template for packages that are created for each flavour
# in debian/control.d/vars.*
#
# This file gets edited in a couple of places. See the debian/control.stub rule in
# debian/rules. PGGVER, ABINUM, and SRCPKGNAME are all converted in the
# process of creating debian/control.
#
# The flavour specific strings (ARCH, DESC, etc) are converted using values from the various
# flavour files in debian/control.d/vars.*
#
# XXX: Leave the blank line before the first package!!

Package: linux-image-PKGVER-ABINUM-FLAVOUR
Architecture: ARCH
Section: admin
Priority: optional
Pre-Depends: dpkg (>= 1.10.24)
#Provides: linux-image, linux-image-2.6, fuse-module, =PROVIDES=
Depends: ${misc:Depends}, ${shlibs:Depends}, initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0), module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda
Conflicts: hotplug (<< 0.0.20040105-1)
Recommends: BOOTLOADER
Suggests: fdutils, SRCPKGNAME-doc-PKGVER | SRCPKGNAME-source-PKGVER, SRCPKGNAME-tools
Description: Linux kernel image for version PKGVER on DESC
This package contains the Linux kernel image for version PKGVER on
DESC.
.
Also includes the corresponding System.map file, the modules built by the
packager, and scripts that try to ensure that the system is not left in an
unbootable state after an update.
.
Supports SUPPORTED processors.
.
TARGET
.
You likely do not want to install this package directly. Instead, install
the linux-FLAVOUR meta-package, which will ensure that upgrades work
correctly, and that supporting packages are also installed.

Package: linux-headers-PKGVER-ABINUM-FLAVOUR
Architecture: ARCH
Section: devel
Priority: optional
Depends: ${misc:Depends}, coreutils | fileutils (>= 4.0), linux-headers-PKGVER-ABINUM, ${shlibs:Depends}
#Provides: SRCPKGNAME-headers, SRCPKGNAME-headers-2.6
Description: Linux kernel headers for version PKGVER on DESC
This package provides kernel header files for version PKGVER on
DESC.
.
This is for sites that want the latest kernel headers. Please read
/usr/share/doc/SRCPKGNAME-headers-PKGVER-ABINUM/debian.README.gz for details.

Package: linux-image-PKGVER-ABINUM-FLAVOUR-dbgsym
Architecture: ARCH
Section: devel
Priority: optional
Depends: ${misc:Depends}
Provides: linux-debug
Description: Linux kernel debug image for version PKGVER on DESC
This package provides a kernel debug image for version PKGVER on
DESC.
.
This is for sites that wish to debug the kernel.
.
The kernel image contained in this package is NOT meant to boot from. It
is uncompressed, and unstripped. This package also includes the
unstripped modules.
8 changes: 8 additions & 0 deletions debian.linaro/control.d/vars.%FLAVOUR%
@@ -0,0 +1,8 @@
arch="armel"
supported="%VENDOR% %UCFLAVOUR%"
desc="%VENDOR% %UCFLAVOUR%-based systems"
target="Targeted towards boards such as TBD"
bootloader="flash-kernel"
provides=""
section_image="universe/base"
do_debug="Yes"
20 changes: 20 additions & 0 deletions debian.linaro/control.stub.in
@@ -0,0 +1,20 @@
Source: SRCPKGNAME
Section: devel
Priority: optional
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Standards-Version: 3.8.4.0
Build-Depends: debhelper (>= 5), cpio, module-init-tools, kernel-wedge (>= 2.24ubuntu1), makedumpfile [amd64 i386], device-tree-compiler [powerpc], libelf-dev, binutils-dev, rsync, libdw-dev
Build-Depends-Indep: xmlto, docbook-utils, ghostscript, transfig, bzip2, sharutils, asciidoc
Build-Conflicts: findutils (= 4.4.1-1ubuntu1)
Vcs-Git: git://git.linaro.org/jcrigby/linux-linaro.git

Package: linux-headers-PKGVER-ABINUM
Architecture: armel
Section: devel
Priority: optional
Depends: ${misc:Depends}, coreutils | fileutils (>= 4.0)
#Provides: SRCPKGNAME-headers, SRCPKGNAME-headers-2.6
Description: Header files related to Linux kernel version PKGVER
This package provides kernel header files for version PKGVER, for sites
that want the latest kernel headers. Please read
/usr/share/doc/SRCPKGNAME-headers-PKGVER-ABINUM/debian.README.gz for details
29 changes: 29 additions & 0 deletions debian.linaro/copyright
@@ -0,0 +1,29 @@
This is the Ubuntu prepackaged version of the Linux kernel.
Linux was written by Linus Torvalds <Linus.Torvalds@cs.Helsinki.FI>
and others.

This package was put together by the Ubuntu Kernel Team, from
sources retrieved from upstream linux git.
The sources may be found at most Linux ftp sites, including
ftp://ftp.kernel.org/pub/linux/kernel/

This package is currently maintained by the
Ubuntu Kernel Team <ubuntu-kernel@lists.ubuntu.com>

Linux is copyrighted by Linus Torvalds and others.

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; version 2 dated June, 1991.

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 St, Fifth Floor, Boston, MA 02110-1301 USA

On Ubuntu Linux systems, the complete text of the GNU General
Public License v2 can be found in `/usr/share/common-licenses/GPL-2'.
4 changes: 4 additions & 0 deletions debian.linaro/d-i/firmware/README.txt
@@ -0,0 +1,4 @@
#
# Place the names of udeb modules into this directory that require
# runtime firmware.
#
4 changes: 4 additions & 0 deletions debian.linaro/d-i/kernel-versions.in
@@ -0,0 +1,4 @@
# arch version flavour installedname suffix bdep
armel PKGVER-ABINUM %FLAVOUR% PKGVER-ABINUM-%FLAVOUR% -
# Ports
# arch version flavour installedname suffix bdep
30 changes: 30 additions & 0 deletions debian.linaro/d-i/modules/block-modules
@@ -0,0 +1,30 @@
aoe ?
aten ?
bpck ?
bpck6 ?
cciss ?
comm ?
cpqarray ?
DAC960 ?
dstr ?
epat ?
epia ?
fit2 ?
fit3 ?
friq ?
frpw ?
kbic ?
ktti ?
nbd ?
on20 ?
on26 ?
paride ?
pcd ?
pd ?
pf ?
pg ?
pt ?
sx8 ?
umem ?
virtio_blk ?
xen-blkfront ?
8 changes: 8 additions & 0 deletions debian.linaro/d-i/modules/crypto-modules
@@ -0,0 +1,8 @@
aes_generic ?
blowfish ?
twofish ?
serpent ?
sha256_generic ?
cbc ?
ecb ?
crc32c ?
7 changes: 7 additions & 0 deletions debian.linaro/d-i/modules/fat-modules
@@ -0,0 +1,7 @@
fat ?
vfat ?

# Supporting modules ?
nls_cp437 ?
nls_iso8859-1 ?
nls_utf8 ?
3 changes: 3 additions & 0 deletions debian.linaro/d-i/modules/fs-core-modules
@@ -0,0 +1,3 @@
jfs ?
reiserfs ?
xfs ?
5 changes: 5 additions & 0 deletions debian.linaro/d-i/modules/fs-secondary-modules
@@ -0,0 +1,5 @@
btrfs ?
fuse ?
ntfs ?
hfs ?
hfsplus ?
21 changes: 21 additions & 0 deletions debian.linaro/d-i/modules/input-modules
@@ -0,0 +1,21 @@
hid-a4tech ?
hid-apple ?
hid-belkin ?
hid-bright ?
hid-cherry ?
hid-chicony ?
hid-cypress ?
hid-dell ?
hid-ezkey ?
hid-gyration ?
hid-logitech ?
hid-microsoft ?
hid-monterey ?
hid-petalynx ?
hid-pl ?
hid-samsung ?
hid-sony ?
hid-sunplus ?
hid-tmff ?
hid-zpff ?
usbhid ?
30 changes: 30 additions & 0 deletions debian.linaro/d-i/modules/irda-modules
@@ -0,0 +1,30 @@
act200l-sir ?
actisys-sir ?
ali-ircc ?
donauboe ?
esi-sir ?
girbil-sir ?
ircomm ?
ircomm-tty ?
irda ?
irda-usb ?
irlan ?
irnet ?
irport ?
irtty-sir ?
kingsun-sir ?
ks959-sir ?
ksdazzle-sir ?
litelink-sir ?
ma600-sir ?
mcp2120-sir ?
mcs7780 ?
nsc-ircc ?
old_belkin-sir ?
sir-dev ?
smsc-ircc2 ?
stir4200 ?
tekram-sir ?
via-ircc ?
vlsi_ir ?
w83977af_ir ?
13 changes: 13 additions & 0 deletions debian.linaro/d-i/modules/md-modules
@@ -0,0 +1,13 @@
dm-crypt ?
dm-zero ?
faulty ?
linear ?
multipath ?
raid0 ?
raid1 ?
raid10 ?
raid456 ?

# Extras
dm-raid4-5 ?
dm-loop ?
2 changes: 2 additions & 0 deletions debian.linaro/d-i/modules/mouse-modules
@@ -0,0 +1,2 @@
psmouse ?
usbmouse ?
4 changes: 4 additions & 0 deletions debian.linaro/d-i/modules/nfs-modules
@@ -0,0 +1,4 @@
nfs ?
nfs_acl ?
lockd ?
sunrpc ?

0 comments on commit 49ddf7b

Please sign in to comment.