FS#37073 - [arch-install-scripts] arch-chroot should --rbind mount /sys /proc /dev for the sub-mounts

Attached to Project: Arch Linux
Opened by Keshav Amburay (the.ridikulus.rat) - Thursday, 26 September 2013, 13:46 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 14 November 2013, 19:59 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
arch-chroot should use --rbind mount host's /sys, /proc and /dev inside the chrot so the the sub-mounts are also exposed in the respective chroot dirs. This helps in exposing things like host's efivarfs /sys/firmware/efi/efivars inside the chroot's /sys (so that efibootmgr/gummiboot-setup inside the chroot can create EFI boot entries). See https://bbs.archlinux.org/viewtopic.php?pid=1328225#p1328225 for more info. Thanks in advance.

Pkg version:
arch-install-scripts-11-1
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 14 November 2013, 19:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://projects.archlinux.org/arch-inst all-scripts.git/commit/?id=c746f87fc39
Comment by Keshav Amburay (the.ridikulus.rat) - Thursday, 14 November 2013, 18:27 GMT
This patch https://mailman.archlinux.org/pipermail/arch-releng/2013-November/003296.html fixes efivarfs mounting inside the chroot.

Loading...