https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c10
Lukas Ocilka changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
CC| |locilka@suse.com,
| |ug@suse.com
InfoProvider|locilka@suse.com |
--- Comment #10 from Lukas Ocilka 2011-09-22 14:27:00 UTC ---
It's "$something --bind", which means:
clients/bootloader_finish.ycp: mount -v --bind /dev ${targetdir}/dev
clients/bootloader_finish.ycp: y2milestone ("mount --bind cmd: %1", cmd);
clients/bootloader_finish.ycp: y2milestone ("mount --bind /dev /mnt/dev
output: %1", out);
clients/inst_prepdisk.ycp: + "mount -v --bind /dev '" +
String::Quote(Storage::PathToDestdir("/dev")) + "'";
clients/inst_kickoff.ycp: "/bin/rm -rf '%1/dev/' && /bin/mkdir -p
'%1/dev/' && /bin/mount -v --bind '/dev/' '%1/dev/'",
include/autoinstall/io.ycp: string cmd = "mount -v
--bind `grep "+cdrom_device+" /proc/mounts |cut -f 2 -d \\ ` "+mount_point+";";
I'd say clients/inst_kickoff.ycp for the update process but also
clients/bootloader_finish.ycp for storing the bootloader configuration
and also clients/inst_prepdisk.ycp for the installation
IMO worth creating a simple library (or include file) and calling it from
all the other places. Uwe, you might be interested as well.
Also please adjust
list <string> umount_these = ["/proc", "/sys", "/dev"];
in clients/umount_finish.ycp
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.