diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-04-18 16:58:40 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-04-19 09:32:46 -0700 |
commit | 5170e27ce841ee00f316c499a179ae9d24228bbf (patch) | |
tree | 2579489f18505bd186350a3e21a1136538eb66ff | |
parent | 11f7f7b8122f1c0c639ce8921278b1924bc51b20 (diff) | |
download | mu-5170e27ce841ee00f316c499a179ae9d24228bbf.tar.gz |
6207 - tweaks while creating a video
https://futureofcoding.org/two-minute-week
-rw-r--r-- | 011run.cc | 4 | ||||
-rwxr-xr-x | build | 1 | ||||
-rwxr-xr-x | tools/iso/soso | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/011run.cc b/011run.cc index e4194687..424e40e9 100644 --- a/011run.cc +++ b/011run.cc @@ -19,8 +19,8 @@ put_new(Help, "syntax", "The resulting binary starts running code from a label called 'Entry'\n" "in the code segment.\n" "\n" - "Segments with the same name get merged together. This rule helps keep functions and\n" - "their data close together in .subx files.\n" + "Segments with the same name get merged together. This rule helps keep functions\n" + "and their data close together in .subx files.\n" "You don't have to specify the starting address after the first time.\n" "\n" "Lines consist of a series of words. Words can contain arbitrary metadata\n" diff --git a/build b/build index 6a654fd0..f53f0619 100755 --- a/build +++ b/build @@ -98,6 +98,7 @@ grep -h "^\s*void test_" bootstrap.cc |sed 's/^\s*void \(.*\)() {.*/"\1",/' |u older_than bootstrap_bin bootstrap.cc *_list && { $CXX $CFLAGS bootstrap.cc -o bootstrap_bin + echo } exit 0 diff --git a/tools/iso/soso b/tools/iso/soso index 327207cb..248820fa 100755 --- a/tools/iso/soso +++ b/tools/iso/soso @@ -23,9 +23,9 @@ LOOP=`losetup -f` sudo losetup $LOOP initrd.fat sudo mkfs.vfat $LOOP sudo mount $LOOP /mnt -mv a.elf /mnt/init -umount /mnt -losetup -d $LOOP +sudo mv a.elf /mnt/init +sudo umount /mnt +sudo losetup -d $LOOP sync chown $SUDO_USER:$SUDO_USER initrd.fat |