Uploaded image for project: 'Funtoo From Scratch'
  1. Funtoo From Scratch
  2. FFS-8

sys-apps/baselayout needs rewrite

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None

      The baselayout ebuild we are using has a multitude of bugs and should be completely rewritten.

      It currently creates a /usr/sbin/bin -> bin symlink, which is a failure related to it trying to create a symlink from /usr/sbin -> bin (which is also wrong.)

      ffs also has the following hacks to ensure baselayout doesn't screw things up further:

      install -m 0755 -d $ROOT/usr/bin
      install -m 0755 -d $ROOT/bin
      # without this, /sbin ends up being a symlink to /usr/sbin?!
      install -m 0755 -d $ROOT/sbin
      # without this, /usr/sbin ends up being a link to bin?!
      install -m 0755 -d $ROOT/usr/sbin
      # also fix a lib issue -- did I miss some steps from metro?
      install -m 0755 -d $ROOT/lib64
      ln -sf lib64 $ROOT/lib
      install -m 0755 -d $ROOT/usr/lib
      ln -sf lib $ROOT/usr/lib64

      Metro has similar workarounds.

      Currently, baselayout uses a separate Makefile which is included in an upstream gentoo tarball from: https://gitweb.gentoo.org/proj/${PN}.git/snapshot/baselayout-2.6.tar.bz2

      This all needs to be replaced.

      Also – baselayout currently hard-codes the Funtoo release as 1.4.

            Unassigned Unassigned
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: