From Fedora Project Wiki
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:AArch64]]
[[Category:AArch64]]
= AArch64 Bootstrap Stage4 Notes =
= AArch64 Bootstrap Stage4 Notes =
A copy of the current stage4 rootfs can be found at http://fedorapeople.org/groups/armv8/stage4-root-20130407.tar.xz. It is a fairly minimal root with enough in place to build packages with mock. Of course, a yum repository is also needed to feed the mock chroot. An initial repo based on stage3 packages can be found at http://fedorapeople.org/groups/armv8/stage3-repo.tar.xz. This repo is temporary and a live repo available over the network will be coming soon. For now, the mock and yum configs in the rootfs expect the repo to be mounted locally at /stage3-repo.
{{admon/note|Booting The Rootfs|
The stage4 root will boot using systemd as the default init process.  We have found some performance issues with systemd on the model.  This hasn't been fully investigated yet.  To avoid wasting simulator cycles while building, the stage4 root also includes a means to boot with busybox as the init process. To do so, pass <code><nowiki>init=/etc/init</nowiki></code> on the kernel command line.}}
{{admon/note|Passwords|
The stage4 root has two user accounts: root and builder. The root passwd is '"fedora"' and the builder password is '"builder"'.}}
There are a several problems found in the existing stage3 RPMs which will be corrected by rebuilding in mock:
* Some packages were ''short-circuited'' and helped along with manual intervention. This causes rpm to create a fake '"Requires"' for '"rpmlib(ShortCircuited)"' which cannot normally be resolved. A temporary rpm patch is used to get around this.
* The stage3 builds were performed using NFS roots. Some of the roots were erroneously mounted with sgid bit set and the sgid bit found its way into some directories in RPM packages. This led to some conflicting files (different file perms) when composing a rootfs with yum. A temporary rpm patch was used to ignore differences in file sgid bits.
All of these issues will be solved simply by rebuilding everything in mock which is going to be done in stage4 anyway.

Latest revision as of 14:46, 6 November 2014

AArch64 Bootstrap Stage4 Notes