root/current/host/trunk/emdebian-tools/trunk/pbuilder/TODO

Revision 4689, 4.4 kB (checked in by codehelp, 5 months ago)

tweak

Line 
1TODO for bootstrap / pbuilder config.
2
3(no particular order)
4
5note: pbuilder bug - default mirror does not include deb-src version.
6        also: gnupg needs the user directory and to be run once for
7        dpkg-source! :-(
8        also need apt-get build-dep if using emchain
9
10copy build log and built files out of jail/ before compressing
11define parameters - inherit from pbuilderrc
12
13These chroots have already been tested and instructions
14exist in the Wiki. http://wiki.debian.org/EmDebian/CrossDebootstrap
15
16dpkg filter to remove unneeded files:
17        1. /var/lib/dpkg/info/*.symbols
18        2. /var/lib/dpkg/available-old
19        3. /var/lib/dpkg/status-old
20modify dpkg to drop /var/log/dpkg.log
21        or simply mount /var/log, /var/cache in RAM.
22
23modify apt to remove unwanted files:
24        /var/cache/apt/(src)?pkgcache.bin
25        always run apt-get clean
26        always drop files in /var/lib/apt/lists/
27
28Split out /usr/share/X11/locale/ (1.3Mb)
29
30Drop /usr/lib/xorg/modules/libscanpci.so (2Mb)
31
32X fails to start without:
33/usr/lib/xorg/modules/libpcidata.so
34(can the file size be reduced?)
35
36Other candidates may be amongst:
37100527 
3847296   /usr
3930674   /usr/lib
4029150   /var
4125092   /var/cache
4225049   /var/cache/apt
4324576   /var/cache/apt/pkgcache.bin
4418138   /lib
4512007   /lib/modules
4612005   /lib/modules/2.6.25.2-pxa270
4711345   /lib/modules/2.6.25.2-pxa270/kernel
488224    /usr/share
497378    /usr/bin
506897    /lib/modules/2.6.25.2-pxa270/kernel/drivers
515822    /usr/lib/gconv
523747    /usr/lib/xorg
533745    /usr/lib/xorg/modules
543572    /var/lib
553358    /usr/lib/libgtk-x11-2.0.so.0.1200.3
562780    /var/lib/dpkg
572744    /sbin
582709    /lib/modules/2.6.25.2-pxa270/kernel/fs
592414    /usr/share/zoneinfo
602153    /var/lib/dpkg/info
612046    /lib/modules/2.6.25.2-pxa270/kernel/drivers/usb
621799    /lib/modules/2.6.25.2-pxa270/kernel/drivers/media
631733    /usr/share/fonts
641656    /usr/bin/Xorg
651490    /tmp
661430    /usr/share/X11
671381    /usr/share/X11/locale
681288    /lib/modules/2.6.25.2-pxa270/kernel/drivers/net
691179    /usr/lib/libcrypto.so.0.9.8
701160    /usr/share/fonts/X11
711150    /lib/libc-2.7.so
721122    /usr/lib/libxml2.so.2.6.32
731080    /bin
74955     /lib/modules/2.6.25.2-pxa270/kernel/drivers/usb/serial
75940     /lib/modules/2.6.25.2-pxa270/kernel/drivers/media/dvb
76932     /usr/lib/xorg/modules/libpcidata.so
77926     /usr/lib/libstdc++.so.6.0.10
78913     /lib/modules/2.6.25.2-pxa270/kernel/net
79904     /usr/lib/libX11.so.6.2.0
80869     /usr/share/zoneinfo/right
81846     /lib/modules/2.6.25.2-pxa270/kernel/drivers/media/video
82842     /usr/bin/gpg
83833     /usr/sbin
84821     /usr/lib/libapt-pkg-libc6.6-6.so.4.6.0
85755     /var/lib/apt
86751     /var/lib/apt/lists
87744     /bin/busybox
88742     /tmp/bb-1.11
89740     /tmp/busybox
90740     /tmp/bb-1.11/busybox
91731     /var/lib/apt/lists/buildd.emdebian.org_emdebian_dists_unstable_main_binary-arm_Packages
92711     /usr/lib/libglib-2.0.so.0.1600.5
93685     /lib/modules/2.6.25.2-pxa270/kernel/fs/nls
94666     /lib/modules/2.6.25.2-pxa270/kernel/sound
95662     /usr/share/zoneinfo/posix
96662     /lib/libslang.so.2.1.3
97
98
99
100==============================
101
102Balloon todo list
103-------------------
104
105Add CONFIG_DISPLAY_TOPPOLY in kernel build.
106
107$ grep perl usr/sbin/*
108Binary file usr/sbin/chroot matches
109usr/sbin/cleanup-info:#!/usr/bin/perl --
110usr/sbin/dpkg-divert:#!/usr/bin/perl --
111usr/sbin/dpkg-statoverride:#! /usr/bin/perl
112Binary file usr/sbin/fbset matches
113usr/sbin/install-info:#!/usr/bin/perl --
114usr/sbin/mkboot:    bootpart=$(perl -ne 'print $1 if /^\s*boot\s*=\s*(\S*)/' /etc/lilo.conf)
115usr/sbin/pam_getenv:#!/usr/bin/perl -w
116Binary file usr/sbin/rdate matches
117Binary file usr/sbin/udhcpd matches
118usr/sbin/update-alternatives:#!/usr/bin/perl --
119(debianutils: /usr/sbin/mkboot)
120
121$ grep perl usr/bin/* | grep -v Binary
122usr/bin/chkdupexe:#!/usr/bin/perl -w
123usr/bin/chkdupexe:#  Distribute under gnu copyleft (included in perl package)
124usr/bin/chkdupexe:#     - Made it possible to run with perl -w
125usr/bin/chkdupexe:    die "NUTS! Personaly I think your perl or filesystem is broken.\n".
126(util-linux)
127
128Kernel command line:  noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttyS2,115200  rootfstype=yaffs2 cpufreq=59000-206400 machine_id=00000
129
130balloon3_init_irq: chained handler installed - irq 126 automatically enabled
131
132
133# grep oknodo /etc/init.d/S*
134/etc/init.d/S10udev:    if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then
135/etc/init.d/S10udev:    if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then
136/etc/init.d/S10udev:    if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then
137
138--retry is also not supported.
139
140mkdir /mnt/sda1
141mkdir /mnt/sda2
142
143Add initscripts to get mountpoint for udev.
144
145drop install-info from dpkg
Note: See TracBrowser for help on using the browser.