Changeset 1277
- Timestamp:
- 05/16/07 06:09:24 (6 years ago)
- Location:
- pkg/main/initramfs-tools/trunk
- Files:
-
- 17 edited
-
conf/initramfs.conf (modified) (2 diffs)
-
debian/TODO (modified) (1 diff)
-
debian/changelog (modified) (1 diff)
-
debian/control (modified) (1 diff)
-
debian/copyright (modified) (1 diff)
-
debian/script (modified) (1 diff)
-
hook-functions (modified) (2 diffs)
-
init (modified) (2 diffs)
-
initramfs-tools.8 (modified) (2 diffs)
-
initramfs.conf.5 (modified) (2 diffs)
-
mkinitramfs (modified) (5 diffs)
-
mkinitramfs-kpkg.8 (modified) (1 diff)
-
mkinitramfs.8 (modified) (1 diff)
-
scripts/functions (modified) (2 diffs)
-
scripts/init-top/framebuffer (modified) (1 diff)
-
update-initramfs.8 (modified) (1 diff)
-
update-initramfs.conf.5 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pkg/main/initramfs-tools/trunk/conf/initramfs.conf
r289 r1277 18 18 MODULES=most 19 19 20 # 20 21 # BUSYBOX: [ y | n ] 21 22 # … … 24 25 25 26 BUSYBOX=y 27 28 # 29 # KEYMAP: [ y | n ] 30 # 31 # Load a keymap during the initramfs stage. 32 # 33 34 KEYMAP=n 26 35 27 36 # -
pkg/main/initramfs-tools/trunk/debian/TODO
r289 r1277 11 11 12 12 o udevsettle timeouts handling 13 14 o lvm2 hooks to their respective packages -
pkg/main/initramfs-tools/trunk/debian/changelog
r905 r1277 1 initramfs-tools (0.86.parsix1) barry; urgency=low 2 3 * Parsix build, suspend2 support 4 5 -- Alan Baghumian <alan@technotux.org> Sun, 15 Apr 2007 09:20:24 +0330 1 initramfs-tools (0.87b.parsix1) barry; urgency=low 2 3 * Parsix build, Suspend2 support 4 5 -- Alan Baghumian <alan@technotux.org> Wed, 16 May 2007 07:38:25 +0330 6 7 initramfs-tools (0.87b) unstable; urgency=low 8 9 * scripts/init-top/framebuffer: Remove vga16fb loading on splash bootarg. 10 Newer usplash > 0.4 no longer needs that. 11 12 * hooks/legacymdadm: remove only needed for partial upgrades from sarge. 13 14 * hooks/legacylvm: Source relevant functions. (closes: 419667) 15 16 -- maximilian attems <maks@debian.org> Tue, 17 Apr 2007 11:56:58 +0200 17 18 initramfs-tools (0.87) unstable; urgency=low 19 20 [ maximilian attems ] 21 * scripts/functions: reduce_satisfied() needs to ignore the same set as 22 set_initlist() otherwise an script having a prereqs on a non-executable 23 boot script may cause circular panic. (closes: 418509) 24 * Add blacklist boot param, disabling the load of specific modules inside 25 the initramfs. Still needs to be passed via tmpfs to the rootfs. 26 * mkinitramfs, scripts/functions: Fix regexes to always use posix character 27 classes. Based on a patch by Meelis Roos <mroos@linux.ee>. 28 (closes: 419062) 29 30 [ David HÀrdeman ] 31 * Add support for loading keymaps. (closes: 337663) 32 * Move legacy code from mkinitramfs to separate hooks. 33 * Ubuntu merge 34 - Add PS3 module loading functionality without grep usage. 35 * debian/copyright: Update authors info. 36 * Bump standards version, no changes necessary. 37 * debian/scripts: Print settings from initramfs.conf in reportbug script. 38 39 -- maximilian attems <maks@debian.org> Mon, 16 Apr 2007 20:21:30 +0200 6 40 7 41 initramfs-tools (0.86) unstable; urgency=low -
pkg/main/initramfs-tools/trunk/debian/control
r905 r1277 2 2 Section: utils 3 3 Priority: optional 4 Uploaders: Jeff Bailey <jbailey@ubuntu.com>, maximilian attems <maks@debian.org> 4 Uploaders: Jeff Bailey <jbailey@ubuntu.com>, maximilian attems <maks@debian.org>, David HÀrdeman <david@hardeman.nu> 5 5 Maintainer: Debian kernel team <debian-kernel@lists.debian.org> 6 6 Build-Depends: debhelper (>= 4.1.0), cdbs 7 Standards-Version: 3.7.2. 07 Standards-Version: 3.7.2.2 8 8 9 9 Package: initramfs-tools -
pkg/main/initramfs-tools/trunk/debian/copyright
r905 r1277 16 16 Authors: Adam Conrad <adconrad@ubuntu.com>, 17 17 Ben Collins <bcollins@ubuntu.com>, 18 David HÀrdeman <david@hardeman.nu>, 18 19 Jeff Bailey <jbailey@ubuntu.com>, 19 maximilian attems <maks@debian.org> 20 Scott James Remnant <scott@ubuntu.com> ,20 maximilian attems <maks@debian.org>, 21 Scott James Remnant <scott@ubuntu.com> 21 22 22 23 Copyright: 2005 - 2006 Adam Conrad 23 24 2006 Ben Collins 25 2005 - 2007 David HÀrdeman 24 26 2005 Jeff Bailey 25 27 2005 - 2007 maximilian attems -
pkg/main/initramfs-tools/trunk/debian/script
r905 r1277 20 20 echo 21 21 fi 22 23 if [ -r /etc/initramfs-tools/initramfs.conf ]; then 24 echo "-- /etc/initramfs-tools/initramfs.conf" 25 sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/initramfs.conf 26 echo 27 fi -
pkg/main/initramfs-tools/trunk/hook-functions
r905 r1277 147 147 manual_add_modules i2o_block 148 148 fi 149 150 if [ -e /sys/bus/ps3_system_bus/ ]; then 151 for x in ps3_storage gelic_net ohci-hcd ehci-hcd; do 152 manual_add_modules "${x}" 153 done 154 fi 149 155 } 150 156 … … 163 169 for x in 3c59x 8139cp 8139too 8390 b44 bmac bnx2 defxx \ 164 170 dl2k e1000 e100 ehea epic100 ep93xx_eth eql fealnx \ 165 famachi forcedeth hp100 mace mv643xx_eth myri10ge \171 famachi forcedeth gelic_net hp100 mace mv643xx_eth myri10ge \ 166 172 natsemi ne2k-pci netconsole ns83820 pcnet32 qla3xxx \ 167 173 r8169 s2io sis900 skge slhc smc911x starfire \ -
pkg/main/initramfs-tools/trunk/init
r905 r1277 54 54 export ROOTDELAY= 55 55 export panic= 56 export blacklist= 56 57 57 58 # Parse command line options … … 129 130 break=premount 130 131 ;; 132 blacklist=*) 133 blacklist=${x#blacklist=} 134 ;; 131 135 esac 132 136 done -
pkg/main/initramfs-tools/trunk/initramfs-tools.8
r905 r1277 89 89 \fB \fI rw 90 90 mounts the rootfs read-write. 91 92 .TP 93 \fB \fI blacklist 94 disables load of specific modules. 95 Use blacklist=module1,module2,module3 bootparameter. 91 96 92 97 .TP … … 445 450 446 451 .SH AUTHOR 447 The initramfs-tools are written by Maximilian Attems <maks@ sternwelten.at>,452 The initramfs-tools are written by Maximilian Attems <maks@debian.org>, 448 453 Jeff Bailey <jbailey@raspberryginger.com> and numerous others. 449 454 .PP 450 This manual was written by David H\[:a]rdeman <david@ 2gen.com>,451 updated by Maximilian Attems <maks@ sternwelten.at>.455 This manual was written by David H\[:a]rdeman <david@hardeman.nu>, 456 updated by Maximilian Attems <maks@debian.org>. 452 457 453 458 .SH SEE ALSO -
pkg/main/initramfs-tools/trunk/initramfs.conf.5
r289 r1277 41 41 Beware that many boot scripts need busybox utilities. 42 42 43 .TP 44 \fB KEYMAP 45 If set to 'y', the console keymap will be loaded during the initramfs stage. 46 The keymap will anyway be loaded by the initscripts later, and the packages 47 that might need input will normally set this variable automatically, so there 48 should normally be no need to set this. 49 43 50 .SH NFS VARIABLES 44 51 .TP … … 59 66 60 67 .SH AUTHOR 61 The initramfs-tools are written by Maximilian Attems <maks@ sternwelten.at>,68 The initramfs-tools are written by Maximilian Attems <maks@debian.org>, 62 69 Jeff Bailey <jbailey@raspberryginger.com> and numerous others. 63 70 Loosely based on mkinitrd.conf by Herbert Xu. -
pkg/main/initramfs-tools/trunk/mkinitramfs
r905 r1277 85 85 EXTRA_CONF='' 86 86 for i in /usr/share/initramfs-tools/conf.d/* ${CONFDIR}/conf.d/*; do 87 EXTRA_CONF="${EXTRA_CONF} $(basename $i | grep '^[a-z0-9][a-z0-9\._-]*$' | grep -v '\.dpkg-.*$')"; 87 EXTRA_CONF="${EXTRA_CONF} $(basename $i \ 88 | grep '^[[:alnum:]][[:alnum:]\._-]*$' | grep -v '\.dpkg-.*$')"; 88 89 done 89 90 for i in ${EXTRA_CONF}; do … … 164 165 export DPKG_ARCH 165 166 export verbose 167 export KEYMAP 166 168 167 169 # Private, used by 'catenate_cpiogz'. … … 204 206 # add existant boot scripts 205 207 for b in $(cd /usr/share/initramfs-tools/scripts/ && find . \ 206 -regex '.*/[a-z0-9_]+$' -type f); do208 -regextype posix-extended -regex '.*/[[:alnum:]_]+$' -type f); do 207 209 [ -d "${DESTDIR}/scripts/$(dirname "${b}")" ] \ 208 210 || mkdir -p "${DESTDIR}/scripts/$(dirname "${b}")" … … 210 212 "${DESTDIR}/scripts/$(dirname "${b}")" 211 213 done 212 for b in $(cd "${CONFDIR}/scripts" && find . -regex '.*/[a-z0-9_]+$' -type f); do 214 for b in $(cd "${CONFDIR}/scripts" && find . \ 215 -regextype posix-extended -regex '.*/[[:alnum:]_]+$' -type f); do 213 216 [ -d "${DESTDIR}/scripts/$(dirname "${b}")" ] \ 214 217 || mkdir -p "${DESTDIR}/scripts/$(dirname "${b}")" … … 252 255 run_scripts "${CONFDIR}"/hooks 253 256 254 # FIXME: Remove this Raid block after Etch releases255 if [ -x /sbin/mdadm ] && [ ! -f /usr/share/initramfs-tools/hooks/mdadm ]; then256 # use mkinitrd magic for Sarge backwards compat257 rootraiddev="$(df / | sed -rne 's,^(/dev/[^[:space:]]+).*,\1,p')"258 echo "rootraiddev=${rootraiddev}" > ${DESTDIR}/conf/mdrun.conf259 mdadm=$(mdadm --detail "${rootraiddev}")260 echo "${mdadm}" | awk '261 $1 == "Number" && $2 == "Major" { start = 1; next }262 $1 == "UUID" { print "uuid=" $3; next }263 !start { next }264 $2 == 0 && $3 == 0 { next }265 { devices = devices " " $NF }266 END { print "devices='\''" devices "'\''" }' \267 >> ${DESTDIR}/conf/mdrun.conf268 copy_exec /sbin/mdadm /sbin269 for x in md linear multipath raid0 raid1 raid456 raid5 raid6 raid10; do270 manual_add_modules ${x}271 done272 fi273 [ -x /sbin/mdrun ] && copy_exec /sbin/mdrun /sbin274 275 # FIXME: Remove this LVM block after Etch releases276 if [ -x /sbin/vgchange ] && [ -d /lib/lvm-200 ] \277 && [ ! -f /usr/share/initramfs-tools/hooks/lvm2 ]; then278 copy_exec /lib/lvm-200/vgchange /sbin279 for x in dm_mod dm_snapshot dm_mirror; do280 manual_add_modules ${x}281 done282 fi283 284 257 # Apply DSDT to initramfs 285 258 if [ -e "${CONFDIR}/DSDT.aml" ]; then -
pkg/main/initramfs-tools/trunk/mkinitramfs-kpkg.8
r289 r1277 44 44 45 45 .SH AUTHOR 46 mkinitramfs-kpkg is maintained by Maximilian Attems <maks@ sternwelten.at>.46 mkinitramfs-kpkg is maintained by Maximilian Attems <maks@debian.org>. 47 47 48 48 .SH SEE ALSO -
pkg/main/initramfs-tools/trunk/mkinitramfs.8
r289 r1277 101 101 102 102 .SH AUTHOR 103 The initramfs-tools are written by Maximilian Attems <maks@ sternwelten.at>,103 The initramfs-tools are written by Maximilian Attems <maks@debian.org>, 104 104 Jeff Bailey <jbailey@raspberryginger.com> and numerous others. 105 105 -
pkg/main/initramfs-tools/trunk/scripts/functions
r905 r1277 88 88 # only allow variable name chars 89 89 case ${si_x#${initdir}/} in 90 *[! A-Za-z0-9_]*)90 *[![:alnum:]_]*) 91 91 continue 92 92 ;; … … 109 109 unset tmpdeplist 110 110 for rs_y in ${deplist}; do 111 if [ ! -f ${initdir}/${rs_y} ]; then 111 # only allow variable name chars 112 case ${rs_y} in 113 *[![:alnum:]_]*) 114 continue 115 ;; 116 esac 117 # skip non executable scripts 118 if [ ! -x ${initdir}/${rs_y} ]; then 119 continue 120 fi 121 # skip directories 122 if [ -d ${initdir}/${rs_y} ]; then 112 123 continue 113 124 fi -
pkg/main/initramfs-tools/trunk/scripts/init-top/framebuffer
r905 r1277 62 62 for x in $(cat /proc/cmdline); do 63 63 case ${x} in 64 splash*)65 FB="vga16fb";66 OPTS="";67 ;;68 64 vga=*) 69 65 FB="vesafb"; -
pkg/main/initramfs-tools/trunk/update-initramfs.8
r289 r1277 86 86 87 87 .SH AUTHOR 88 The initramfs-tools are written by Maximilian Attems <maks@ sternwelten.at>,88 The initramfs-tools are written by Maximilian Attems <maks@debian.org>, 89 89 Jeff Bailey <jbailey@raspberryginger.com> and numerous others. 90 90 -
pkg/main/initramfs-tools/trunk/update-initramfs.conf.5
r905 r1277 18 18 19 19 .SH AUTHOR 20 The initramfs-tools are written by Maximilian Attems <maks@ sternwelten.at>,20 The initramfs-tools are written by Maximilian Attems <maks@debian.org>, 21 21 Jeff Bailey <jbailey@raspberryginger.com> and numerous others. 22 22 .SH SEE ALSO
Note: See TracChangeset
for help on using the changeset viewer.


