Differences between revisions 15 and 26 (spanning 11 versions)
Revision 15 as of 2007-06-14 11:11:56
Size: 4188
Editor: Lunar
Comment: Add impacted file list for post-switch cleanup
Revision 26 as of 2009-09-17 01:40:09
Size: 3699
Editor: GeoffSimmons
Comment: DebianBug, DebianPts
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * [http://packages.qa.debian.org/busybox busybox]  * DebianPts:busybox '''uploaded'''
Line 5: Line 5:
   [http://packages.qa.debian.org/busybox busybox] is currently built with CONFIG_FEATURE_DEVFS activated.    DebianPts:busybox was built with CONFIG_FEATURE_DEVFS activated.
Line 13: Line 13:
 * [http://packages.qa.debian.org/udev udev]  * DebianPts:udev '''see DebianBug:431556'''
Line 19: Line 19:
 * Change {{{/etc/inittab}}} in rootskel to use tty2-tty4 for debug shells and syslog.[[BR]]See rootskel in D-I SVN under {{{people/fjp}}}.  * Change {{{/etc/inittab}}} in rootskel to use tty2-tty4 for debug shells and syslog (committed in SVN; change works with current versions of busybox/udev).<<BR>>'''uploaded'''

 * Change userdevfs to also create non-devfs device nodes (for arches that do not have a working udev ?). Missed in original analysis, but fixed in time by Colin.<<BR>>'''uploaded'''
Line 22: Line 24:
   Device files for input devices created in {{{/dev}}} instead of {{{/dev/input}}} which makes starting directfb fail. Creating symlinks in {{{/dev/input}}} fixes this. Adding persistent-input.rules in udev-udeb is the way to go.    Device files for input devices are created in {{{/dev}}} instead of {{{/dev/input}}} which makes starting directfb fail. Adding z10_input.rules in udev-udeb fixed this (see above).
Line 24: Line 26:
[http://people.debian.org/~lunar/d-i-without-devfs/ Modified packages not in d-i tree]: [[http://people.debian.org/~lunar/d-i-without-devfs/|Modified packages not in d-i tree]]:
Line 26: Line 28:
 * busybox
 * udev
 * udev '''uploaded'''
Line 35: Line 36:
 * {{{/dev/md}}} should '''not''' be removed. See [ http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/FAQ?op=file&rev=0&sc=0 mdadm FAQ].  * {{{/dev/md}}} should '''not''' be removed. See [[http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/FAQ?op=file&rev=0&sc=0|mdadm FAQ]].
Line 39: Line 40:
 * {{{packages/arch/i386/lilo-installer/debian/lilo-installer.templates}}}
 * {{{packages/arch/i386/lilo-installer/debian/postinst}}}
 * {{{packages/arch/m68k/vmelilo-installer/debian/postinst}}}
 * {{{packages/arch/s390/dasd/dasd.c}}}
 * {{{packages/arch/s390/zipl-installer/debian/zipl-installer.postinst}}}
 * {{{packages/autopartkit/autopartkit.c}}}
 * {{{packages/debian-installer-utils/list-devices}}}
 * {{{packages/flash-kernel/flash-kernel}}}
 * {{{packages/flash-kernel/initramfs-tools/hooks/thecus}}}
 * {{{packages/floppy-retriever/debian/load-floppy.postinst}}}
 * {{{packages/hw-detect/ethdetect.sh}}}
 * {{{packages/hw-detect/hw-detect.sh}}}
 * {{{packages/kbd-chooser/getfd.c}}}
 * {{{packages/libdebian-installer/include/debian-installer.h}}}
 * {{{packages/libdebian-installer/src/system/devfs.c}}}
 * {{{packages/mdcfg/mdcfg.sh}}}
 * {{{packages/mdcfg/partconf-hook.sh}}}
 * {{{packages/mountfloppy/mountfloppy}}}
 * {{{packages/netcfg/netcfg.h}}}
 * {{{packages/os-prober/README}}}
 * {{{packages/os-prober/os-prober}}}
 * {{{packages/partconf/README}}}
 * {{{packages/partconf/find-parts.c}}}
 * {{{packages/partconf/fstab-common}}}
 * {{{packages/partitioner/main.c}}}
 * {{{packages/partman/partman-auto-raid/README}}}
 * {{{packages/partman/partman-auto/auto-shared.sh}}}
 * {{{packages/partman/partman-auto/auto.d/initial_auto}}}
 * {{{packages/partman/partman-base/definitions.sh}}}
 * {{{packages/partman/partman-crypto/crypto_tools.sh}}}
 * {{{packages/partman/partman-crypto/update.d/crypto_visuals}}}
 * {{{packages/partman/partman-lvm/undo.d/lvm}}}
 * {{{packages/rootskel-gtk/src/lib/debian-installer.d/S59check-vesa-x86}}}
 * {{{packages/rootskel/src-bootfloppy/init}}}
 * {{{packages/rootskel/src/etc/fstab}}}
 * {{{packages/rootskel/src/init}}}
 * {{{packages/rootskel/src/lib/debian-installer-startup.d/S01mount}}}
 * {{{packages/rootskel/src/lib/debian-installer.d/S35framebuffer-linux}}}
 * {{{packages/rootskel/src/lib/debian-installer/detect-console-linux}}}
 * {{{packages/rootskel/src/lib/debian-installer/init-udev-devices}}}
 * {{{packages/rootskel/src/sbin/init}}}
 * {{{packages/sarge-support/termwrap}}}
 * {{{packages/userdevfs/S10userdevfs}}}
 * {{{packages/userdevfs/debian/rules}}}
 * {{{packages/userdevfs/init-dev}}}
 * {{{packages/userdevfs/update-dev}}}
 * {{{arch/m68k/vmelilo-installer/debian/postinst}}}
 * {{{arch/s390/dasd/dasd.c}}}
 * {{{arch/s390/zipl-installer/debian/zipl-installer.postinst}}}
 * {{{debian-installer-utils/list-devices}}}
 * {{{hw-detect/ethdetect.sh}}}
 * {{{hw-detect/hw-detect.sh}}}
 * {{{libdebian-installer/include/debian-installer.h}}}
 * {{{libdebian-installer/src/system/devfs.c}}}
 * {{{mdcfg/mdcfg.sh}}}
 * {{{mdcfg/partconf-hook.sh}}}
 * {{{partconf/README}}}
 * {{{partitioner/main.c}}}
 * {{{partman/partman-auto-raid/README}}}
 * {{{partman/partman-auto/auto-shared.sh}}}
 * {{{partman/partman-auto/auto.d/initial_auto}}}
 * {{{partman/partman-base/definitions.sh}}}
 * {{{partman/partman-crypto/crypto_tools.sh}}}
 * {{{partman/partman-crypto/update.d/crypto_visuals}}}
 * {{{partman/partman-lvm/undo.d/lvm}}}
 * {{{sarge-support/termwrap}}}
 * {{{userdevfs/S10userdevfs}}}
 * {{{userdevfs/debian/rules}}}
 * {{{userdevfs/init-dev}}}
 * {{{userdevfs/update-dev}}}

Done:

 * {{{floppy-retriever/debian/load-floppy.postinst}}}
 * {{{autopartkit/autopartkit.c}}}
 * {{{kbd-chooser/getfd.c}}}
 * {{{mountfloppy/mountfloppy}}}
 * {{{os-prober/README}}}
 * {{{os-prober/os-prober}}}
 * {{{partconf/find-parts.c}}}
 * {{{partconf/fstab-common}}}
 * {{{rootskel/src-bootfloppy/init}}}
 * {{{rootskel/src/etc/fstab}}}
 * {{{rootskel/src/init}}}
 * {{{rootskel/src/lib/debian-installer/init-udev-devices}}}
 * {{{rootskel/src/lib/debian-installer/detect-console-linux}}}
 * {{{rootskel/src/lib/debian-installer-startup.d/S01mount}}}
 * {{{rootskel/src/lib/debian-installer.d/S35framebuffer-linux}}}
 * {{{arch/i386/lilo-installer/debian/lilo-installer.templates}}}
 * {{{arch/i386/lilo-installer/debian/postinst}}}

This page describe the progress of removing usage of the obsolete devfs in the DebianInstaller.

  • busybox uploaded

    • busybox was built with CONFIG_FEATURE_DEVFS activated. It needs to be deactivated in debian/config-udeb.

      We should not have any problems in uploading this change without any specific changes in the DebianInstaller. Testing might be desirable though. Current d-i and g-i work correctly with modified busybox on i386, provided the changes listed below for other components are also included.

  • udev see 431556

    • Remove devfs.rules and compat-full.rules
    • Add z10_input.rules to create input device nodes in /dev/input (required for g-i) Works with modified busybox on i386, text d-i.
  • Change /etc/inittab in rootskel to use tty2-tty4 for debug shells and syslog (committed in SVN; change works with current versions of busybox/udev).
    uploaded

  • Change userdevfs to also create non-devfs device nodes (for arches that do not have a working udev ?). Missed in original analysis, but fixed in time by Colin.
    uploaded

  • Graphical installer
    • Device files for input devices are created in /dev instead of /dev/input which makes starting directfb fail. Adding z10_input.rules in udev-udeb fixed this (see above).

Modified packages not in d-i tree:

  • udev uploaded

Post-switch cleanup

After we've switched to use "regular" device names, we should be able to clean up quite a lot of code. The list below is far from complete.

  • any references to /dev/discs/
  • rootskel: various references to /dev/vc/*, /dev/fb/* and possibly others

  • /dev/md should not be removed. See mdadm FAQ.

Impacted files:

  • arch/m68k/vmelilo-installer/debian/postinst

  • arch/s390/dasd/dasd.c

  • arch/s390/zipl-installer/debian/zipl-installer.postinst

  • debian-installer-utils/list-devices

  • hw-detect/ethdetect.sh

  • hw-detect/hw-detect.sh

  • libdebian-installer/include/debian-installer.h

  • libdebian-installer/src/system/devfs.c

  • mdcfg/mdcfg.sh

  • mdcfg/partconf-hook.sh

  • partconf/README

  • partitioner/main.c

  • partman/partman-auto-raid/README

  • partman/partman-auto/auto-shared.sh

  • partman/partman-auto/auto.d/initial_auto

  • partman/partman-base/definitions.sh

  • partman/partman-crypto/crypto_tools.sh

  • partman/partman-crypto/update.d/crypto_visuals

  • partman/partman-lvm/undo.d/lvm

  • sarge-support/termwrap

  • userdevfs/S10userdevfs

  • userdevfs/debian/rules

  • userdevfs/init-dev

  • userdevfs/update-dev

Done:

  • floppy-retriever/debian/load-floppy.postinst

  • autopartkit/autopartkit.c

  • kbd-chooser/getfd.c

  • mountfloppy/mountfloppy

  • os-prober/README

  • os-prober/os-prober

  • partconf/find-parts.c

  • partconf/fstab-common

  • rootskel/src-bootfloppy/init

  • rootskel/src/etc/fstab

  • rootskel/src/init

  • rootskel/src/lib/debian-installer/init-udev-devices

  • rootskel/src/lib/debian-installer/detect-console-linux

  • rootskel/src/lib/debian-installer-startup.d/S01mount

  • rootskel/src/lib/debian-installer.d/S35framebuffer-linux

  • arch/i386/lilo-installer/debian/lilo-installer.templates

  • arch/i386/lilo-installer/debian/postinst