URI: 
       tsdkvm.blend - sdk-vm - Blend repository for building a Devuan SDK VM
  HTML git clone https://git.parazyd.org/sdk-vm
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR LICENSE
       ---
       tsdkvm.blend (552B)
       ---
            1 #!/usr/bin/env zsh
            2 # See LICENSE file for copyright and license details.
            3 
            4 source "$R/../sdkvm.config"
            5 
            6 blend_preinst() {
            7         cat <<EOF | sudo tee "$strapdir/blend-preinst"
            8 #!/bin/sh
            9 useradd -m -s /bin/bash sdk
           10 echo "sdk:sdk" | chpasswd
           11 rm -f /blend-preinst
           12 EOF
           13         chroot-script -d blend-preinst
           14 }
           15 
           16 blend_postinst() {
           17         cat <<EOF | sudo tee "$strapdir/blend-postinst"
           18 #!/bin/sh
           19 for i in arm-sdk vm-sdk live-sdk; do
           20         sudo -u sdk git clone https://github.com/parazyd/$i /home/sdk/$i --recursive
           21 done
           22 rm -f /blend-postinst
           23 EOF
           24         chroot-script -d blend-postinst
           25 }