Opened 10 years ago

Last modified 7 years ago

#989 new task

Eudev 3.2.2 Version Upgrade

Reported by: William Harrington Owned by: clfs-commits@…
Priority: critical Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…

Description (last modified by William Harrington)

Change History (12)

comment:1 by chris@…, 10 years ago

Actually we don't put test into /bin. We probably did, until removing the command to do so since systemd doesn't need it. That should probably be added back to the sysvinit book (bootscripts do also use test).

Also, I think this ticket can be updated to Eudev 2.1.1. There's no Changelog or NEWS file or anything similar, but from doing a diff the only major change seems to be the removal of firmware stuff, which I assume corresponds to this entry from the NEWS file for systemd 217:

Userspace firmware loading support has been removed and the minimum supported kernel version is thus bumped to 3.7.

The only other changes I saw were a couple minor changes to udev rules. The only changes to book instructions that should be needed would be updating Glibc's minimum kernel version to 3.7, and removing the --with-firmware-path option for eudev builds.

comment:2 by William Harrington, 10 years ago

Priority: majorcritical

comment:3 by William Harrington, 10 years ago

Description: modified (diff)
Summary: Eudev 1.10 Version UpgradeEudev 2.1.1 Version Upgrade

comment:4 by William Harrington, 9 years ago

Description: modified (diff)
Summary: Eudev 2.1.1 Version UpgradeEudev 3.1.2 Version Upgrade

comment:5 by William Harrington, 9 years ago

For chapter 7 boot method:

./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET}

Results:

        prefix:                  /tools
        exec_prefix:             ${prefix}
        sysconfdir:              ${prefix}/etc
        datadir:                 ${datarootdir}
        includedir:              ${prefix}/include
        libdir:                  ${exec_prefix}/lib

        rootprefix:              ${prefix}
        rootlibdir:              ${exec_prefix}/lib
        rootlibexecdir:          ${exec_prefix}/lib/udev
        datarootdir:             ${prefix}/share
        rootrundir:              /run

        udevconfdir:             ${prefix}/etc/udev
        udevconffile:            ${prefix}/etc/udev/udev.conf
        udevhwdbdir:             ${prefix}/etc/udev/hwdb.d
        udevhwdbbin:             ${prefix}/etc/udev/hwdb.bin
        udevlibexecdir:          ${exec_prefix}/lib/udev
        udevkeymapdir:           ${exec_prefix}/lib/udev/keymaps
        udevkeymapforceredir:    ${exec_prefix}/lib/udev/keymaps/force-release
        udevrulesdir:            ${exec_prefix}/lib/udev/rules.d

        pkgconfiglibdir:         ${exec_prefix}/lib/pkgconfig
        sharepkgconfigdir        ${datarootdir}/pkgconfig

        girdir                   ${datarootdir}/gir-1.0
        typelibsdir              ${exec_prefix}/lib/girepository-1.0
Last edited 7 years ago by William Harrington (previous) (diff)

comment:6 by William Harrington, 9 years ago

Description: modified (diff)
Summary: Eudev 3.1.2 Version UpgradeEudev 3.1.5 Version Upgrade

comment:7 by William Harrington, 9 years ago

Newer Eudev versions require gperf. Will need to create a ticket for installing gperf for eudev cross-tools.

Version 0, edited 9 years ago by William Harrington (next)

comment:8 by William Harrington, 8 years ago

For 32bit build I used:

./configure
  --prefix=/usr
  --sysconfdir=/etc
  --with-rootprefix=""
  --libexecdir=/lib
  --enable-split-usr
  --libdir=/usr/lib
  --with-rootlibdir=/lib
  --sbindir=/sbin
  --bindir=/sbin
  --enable-rule_generator
  --disable-introspection

comment:9 by William Harrington, 8 years ago

Description: modified (diff)
Summary: Eudev 3.1.5 Version UpgradeEudev 3.2.1 Version Upgrade

comment:10 by William Harrington, 8 years ago

Ch 7

  • Check the following
    sed -i '/keyboard_lookup_key/d' 
    src/udev/udev-builtin-keyboard.c
    

Checked: With newer toolchain we don't need it.

Last edited 7 years ago by William Harrington (previous) (diff)

comment:11 by William Harrington, 7 years ago

Use this for version 1.7 until we get it upgraded:

sed -i -e "/mtd-user/a\\#include <stdint.h>" src/mtd_probe/mtd_probe.h

comment:12 by William Harrington, 7 years ago

Description: modified (diff)
Summary: Eudev 3.2.1 Version UpgradeEudev 3.2.2 Version Upgrade
Note: See TracTickets for help on using tickets.