Opened 16 years ago

Closed 16 years ago

#2261 closed task (fixed)

Symlinks to setarch in Util-Linux-ng

Reported by: Chris Staub Owned by: bdubbs@…
Priority: low Milestone: 6.4
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

When Util-Linux-ng installs the setarch program, it also creates a few symlinks pointing to setarch. I tried checking out the build system, and it appears that these symlinks it creates vary depending on what system type it detects. On my x86 system, these are "i386", "linux32", and "linux64". Since LFS is still only 32-bit x86. it's likely safe to assume that these would be the same for any LFS system, and can safely be added to Util-Linux-ng's list of installed programs. Of course, it would probably be a good idea for someone who knows a bit more about Util-Linux-ng's build system to verify...

Change History (2)

comment:1 by bdubbs@…, 16 years ago

Milestone: 6.4
Owner: changed from lfs-book@… to bdubbs@…
Status: newassigned

What the build does (relative to x86) is:

SETARCH_LINKS = linux32 linux64
...
if ARCH_I86
SETARCH_LINKS += i386
endif
if ARCH_86_64
SETARCH_LINKS += i386 x86_64

The man page for setarch says "This utility currently only affects the output of uname -m."

When trying i386, linux32, and linux64 within chroot, uname -m gives me i686 each time. I'm accepting this ticket for LFS 6.4, but I'm not sure we should do anything. The commands don't seem to do anything.

comment:2 by bdubbs@…, 16 years ago

Resolution: fixed
Status: assignedclosed

Added descriptions of symlinks created by util-linux.

Fixed in revision 8707.

Note: See TracTickets for help on using tickets.