diff options
-rw-r--r-- | system/vtcol/README | 8 | ||||
-rw-r--r-- | system/vtcol/README.Slackware | 5 |
2 files changed, 3 insertions, 10 deletions
diff --git a/system/vtcol/README b/system/vtcol/README index a972d6d697107..0fe1ded5c3334 100644 --- a/system/vtcol/README +++ b/system/vtcol/README @@ -4,11 +4,3 @@ Change the colour scheme of the virtual Linux console. Note: rust is a dependency at build-time, not a runtime dep. - -By default, the slackbuild requires all crate dependencies to be downloaded -individually. Optionally, iff you have cargo-vendor installed, you can create -a "vendored" tarball which contains all the crate dependencies exploded into a -single directory and then compressed together as a tarball. - -The script vtcol-mkvendortarball.sh will generate this for you. The slackbuild -will automatically use this tarball if found in the current directory. diff --git a/system/vtcol/README.Slackware b/system/vtcol/README.Slackware index 1932afa121e2c..f81460035168b 100644 --- a/system/vtcol/README.Slackware +++ b/system/vtcol/README.Slackware @@ -11,7 +11,8 @@ kernel=4.4.38 mkinitrd -c -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> \ -m ext4:<more modules> -u -o /boot/initrd-"$kernel".gz \ -s /tmp/initrd-tree-"$kernel" -install -m 755 /usr/bin/vtcol "/tmp/initrd-tree-$kernel/bin/vtcol" -sed -i '159i \/bin\/vtcol --scheme solarized_light' /tmp/initrd-tree-"$kernel"/init +install -m 755 /usr/bin/vtcol /tmp/initrd-tree-"$kernel"/bin/vtcol +sed -i "/^sleep/a \ +\\/sbin\\/vtcol --scheme '$VTCOL_SCHEME' || true" /tmp/initrd-tree-"$kernel"/init mkinitrd -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> -u \ -o /boot/initrd-"$kernel".gz -s /tmp/initrd-tree-"$kernel" |