From 34a72584c14a5c00a9d0d5a7a8e5129b377d9e2a Mon Sep 17 00:00:00 2001 From: Googulator Date: Wed, 17 Apr 2024 00:58:50 +0200 Subject: [PATCH] Update Pythonless bootstrap instructions * ``pre-network-sources`` is no more * builder-hex0 stage1 is no longer precompiled, but instead needs to be generated from hex0 code (using POSIX tools or by hand) --- README.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index b14116c..11dc4f5 100644 --- a/README.rst +++ b/README.rst @@ -40,16 +40,17 @@ Without using Python: * Run ``/bootstrap-seeds/POSIX/x86/kaem-optional-seed`` in the chroot. (Eg, ``chroot rootfs /bootstrap-seeds/POSIX/x86/kaem-optional-seed``). b. **QEMU:** Create two blank disk images. - * On the first image, write - ``seed/stage0-posix/bootstrap-seeds/NATIVE/x86/builder-hex0-x86-stage1.img`` - to it, followed by ``kernel-bootstrap/builder-hex0-x86-stage2.hex0``, - followed by zeros padding the disk to the next sector. + * Generate ``builder-hex0-x86-stage1.img`` from hex0 source: + ``sed 's/[;#].*$//g' builder-hex0/builder-hex0-x86-stage1-hex0 | xxd -r -p`` + * On the first image, write ``builder-hex0-x86-stage1.img`` to it, followed + by ``kernel-bootstrap/builder-hex0-x86-stage2.hex0``, followed by zeros + padding the disk to the next sector. * distfiles can be obtained using ``./download-distfiles.sh``. * See the list in part a. For every file within that list, write a line to the disk ``src ``, followed by the contents of the file. - * *Only* copy distfiles listed in ``steps/pre-network-sources`` into - this disk. + * *Only* copy distfiles listed in ``sources`` files for ``build:`` steps + manifested before ``improve: get_network`` into this disk. * Optionally (if you don't do this, distfiles will be network downloaded): * On the second image, create an MSDOS partition table and one ext3 partition.