Add text files

[?]
Feb 9, 2021, 6:48 PM
FBDH2MIMD6KYJL4DV2THH4BMQWR7UKNSPORBKQUADQBFS4BLAX6QC

Dependencies

Change contents

  • file addition: test1.sh (-xwrx-rx-r)
    [1.0]
    #!/bin/bash -x
    # TODO:
    # - pijul diff --short | wc -l inside loop, must be always 0.
    # mount -t tmpfs -o size=3g tmpfs /mnt/linux2x
    R="/mnt/linux2x/repo/"
    rm -rf ${R:?}
    pijul init "$R"
    tar -xJf kernel/linux-2.0.1.tar.xz -C "$R" --strip-components=1
    (cd "$R" && pijul add -r * && pijul rec -am".")
    for i in {2..4}
    do
    xzcat patches/patch-2.0."$i".xz | patch -p1 -sd "$R"
    (cd "$R" && pijul add -r * && pijul rec -am".")
    done
    # record to branch, apply 2.0.5 back to main
    (cd "$R" && pijul fork 205 && pijul channel switch 205)
    xzcat patches/patch-2.0.5.xz | patch -p1 -sd "$R"
    (cd "$R" && pijul add -r * && pijul rec -am".")
    H=$(cd "$R" && pijul log --hash-only | head -1)
    (cd "$R" ; pijul apply --channel main "$H" ; pijul channel switch main ; pijul channel delete 205)
    for i in {6..9}
    do
    xzcat patches/patch-2.0."$i".xz | patch -p1 -sd "$R"
    (cd "$R" && pijul add -r * && pijul rec -am".")
    done
  • file addition: kernel-apply.sh (-xwrx-rx-r)
    [1.0]
    #!/bin/bash
    # untar kernel and test-check *all* patches could apply.
    # RESULT: All patches applies clearly
    #set -x
    # mount -t tmpfs -o size=3g tmpfs /mnt/linux2x
    R="/mnt/linux2x/"
    rm -rf ${R:?}/*
    tar -xJf kernel/linux-2.0.1.tar.xz -C "$R" --strip-components=1
    for i in {2..40}
    do
    xzcat patches/patch-2.0."$i".xz | patch -p1 -sd /mnt/linux2x
    done
  • file addition: README.md (-xw-x--x--)
    [1.0]
    Trivial and robust script(s) to test `pijul` the way how I feel it.
    Have fun!
  • file addition: COPYING (-xw-x--x--)
    [1.0]
    THE FREEDOM PUBLIC LICENSE
    Version 1, January 2021
    Copyright (C) 2021 Mike <tankf33der@disroot.org>
    Everyone is permitted to copy and distribute verbatim or modified
    copies of this license document, and changing it is allowed as long
    as the name is changed.
    THE FREEDOM PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    0. You just DO WHAT YOU WANT TO.