0b333e2f010caeda84ae5f45a9c55aed94ab51d1
[vuplus_openembedded] / conf / distro / debianslug.conf
1 #@TYPE: Distribution
2 #@NAME: DebianSlug
3 #@DESCRIPTION: DebianSlug Linux Distribution for the NSLU2
4
5 #----------------------------------------------------------------------------------
6 # STANDARD DebianSlug DEFINITIONS
7 #----------------------------------------------------------------------------------
8 DISTRO_NAME = "DebianSlug"
9 # DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}"
10 # DISTRO_FEED = "unstable"
11 DISTRO_TYPE = "beta"
12 SLUGOS_IMAGENAME = "debianslug"
13 SLUGOS_IMAGESEX  = "little-endian"
14
15 # debianslug builds a complete image (not just the parts)
16 SLUGOS_FLASH_IMAGE = "nslu2"
17
18 # NOTE: to build new packages set DEBIANSLUG_EXTRA_BBFILES to the full path name to
19 # the .bb files for the packages to build - see debianslug-packages.conf in this
20 # directory
21 DEBIANSLUG_EXTRA_BBFILES ?= ""
22
23 #----------------------------------------------------------------------------------
24 # FIRMWARE CONFIGURATION
25 #----------------------------------------------------------------------------------
26 # EXTRA PACKAGES
27 # --------------
28 # Filesystem support modules are listed in here for easy removal,
29 # as is the lrzsz serial package and other kernel modules which are
30 # not absolutely required for boot.
31 # NOTE: only jffs2 support is an absolute requirement of boot, even
32 # the ext2/ext3 support is optional!
33 DEBIANSLUG_EXT2_PROGS =  "e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-e2fsck e2fsprogs-badblocks"
34 DEBIANSLUG_REISER_PROGS = "reiserfsprogs"
35
36 # The standard firmware contents and additional packages built as requirements
37 # of the firmware are defined here in DEBIANSLUG_STANDARD_RDEPENDS and
38 # DEBIANSLUG_STANDARD_DEPENDS respectively.
39 DEBIANSLUG_STANDARD_RDEPENDS = ""
40
41 # Support for a variety of file systems is built in to the debianslug
42 # image, programs to format disks with these file systems may be
43 # added or removed.  By default ext2. ext3 and reiserfs supported
44 # is included by the following lines.
45
46 # These lines add support for formatting ext2 and ext3 file systems
47 # on a hard disk attached to the NSLU2.  ext3 is the standard Linux
48 # file system.
49 DEBIANSLUG_STANDARD_RDEPENDS += "${DEBIANSLUG_EXT2_PROGS}"
50
51 # These lines add support for formatting reiserfs file systems on
52 # a hard disk.
53 DEBIANSLUG_STANDARD_RDEPENDS += "${DEBIANSLUG_REISER_PROGS}"
54
55 # These lines add support for an X/Y/ZModem package called lrzsz
56 # (this is of use for people with modified NSLU2 hardware which
57 # supports a serial port.)
58 DEBIANSLUG_STANDARD_RDEPENDS += "lrzsz"
59
60 # Filesystem selection.  Adding entries here adds the module to the
61 # image.  The module must be built as part of nslu2-kernel (i.e. it
62 # must be specified as a module in the defconfig file).  The NLS
63 # support charset modules must be given explicitly and must match
64 # the codepage/iocharset and NLS handling for the file systems which
65 # require them.  The installed lanugage set is minimal but sufficient
66 # for any file system (since it uses utf8).  See
67 # http://www.nslu2-linux.orgwiki/HowTo/MountFATFileSystems
68 # for more information on the language behaviour of the DOS file
69 # systems.
70 #
71 # KERNEL LEVEL FILE SYSTEM SUPPORT
72 # --------------------------------
73 # NOTE: removing kernel-module-nfs from this list will prevent NFS
74 # boot (however you can do a simple flash file system boot - no
75 # attached disk - and install the nfs modules from ssh.)
76 DEBIANSLUG_STANDARD_RDEPENDS += "\
77 kernel-module-ext2 \
78 kernel-module-jbd \
79 kernel-module-ext3 \
80 kernel-module-vfat \
81 kernel-module-ntfs \
82 kernel-module-isofs \
83 kernel-module-udf \
84 kernel-module-reiserfs \
85 kernel-module-nls-cp437 \
86 kernel-module-nls-utf8 \
87 "
88
89 # Add module to create i2c chardev
90 DEBIANSLUG_STANDARD_RDEPENDS += "\
91 kernel-module-i2c-dev \
92 "
93
94 # Add module & daemon required for HW RNG support
95 DEBIANSLUG_STANDARD_RDEPENDS += "\
96 kernel-module-ixp4xx-rng \
97 rng-tools \
98 "
99
100 # Add modules required for usb support
101 DEBIANSLUG_STANDARD_RDEPENDS += "\
102 kernel-module-usbcore \
103 kernel-module-ohci-hcd \
104 kernel-module-ehci-hcd \
105 kernel-module-uhci-hcd \
106 kernel-module-scsi-mod \
107 kernel-module-sd-mod \
108 kernel-module-usb-storage \
109 "
110
111 # Add modules required for IDE support
112 DEBIANSLUG_STANDARD_RDEPENDS += "\
113 kernel-module-libata \
114 kernel-module-pata-artop \
115 "
116
117 # This documents other file systems which are built but not installed
118 # by default in the flash image.
119 #
120 # kernel-module-msdos - mounts a FAT file system without long file names
121 #                       (use kernel-module-vfat, it shows the long names
122 #                       if present.)
123
124 # The 'standard' values are the defaults for the 'extra' packages added
125 # to the firmware image.  None of these things are requirements to have
126 # a bootable, useable, system however they *are* expected to be present
127 # in DebianSlug - see slugos-lag for a more minimal configuration and some
128 # more instructions about how to make a non-debianslug image.
129 DEBIANSLUG_EXTRA_RDEPENDS ?= ""
130 SLUGOS_EXTRA_RDEPENDS = "${DEBIANSLUG_STANDARD_RDEPENDS} ${DEBIANSLUG_EXTRA_RDEPENDS}"
131
132 #----------------------------------------------------------------------------------
133 # PACKAGE VERSION CONTROL
134 #----------------------------------------------------------------------------------
135 PREFERRED_VERSION_nslu2-linksys-firmware ?= "2.3r63"
136
137 #----------------------------------------------------------------------------------
138 # BASE VERSION SELECTION
139 #----------------------------------------------------------------------------------
140 # l - little-endian
141 # a - ARM instruction set
142 # g - glibc
143 #
144 require conf/distro/slugos-lag.conf