yaboot-installer should use OF aliases on pegasos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yaboot-installer (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
in hoary yaboot-installer on pegasos, the boot-device is given using the full OF
path, and not the alias shortcut.
The following code in debian-installer nobootloader does the aliases
reverse-expansion :
# map theidevice to the OF aliases from /proc/device-
if [ -d /proc/device-
fi
Please add a similar code fragment to yaboot-installer so it will provide the
shorter OF command.
Friendly,
Sven Luther
Changed in yaboot-installer: | |
assignee: | kamion → nobody |
I'd like to improve this code a bit in nobootloader before merging it into
yaboot-installer: when comparing two OF paths, it should really resolve each
component of the path into a canonical form (e.g. "pci@f2000000") by looking at
symlinks in /proc/device-tree, rather than collapsing "pci@f2000000" down to
"pci" and comparing that. I think that was what bothered me the last time I
looked at merging this code.
Otherwise, yeah, that would be nice for traditional yaboot architectures as well
as for Pegasos.