summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-01-25 10:17:34 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-27 07:43:54 +0700
commita76aea2d565cf789d40e9c5b82d0e53b61d3b758 (patch)
treee70b44077531ecd43e4ae5193589cacbf571f723
parenta460a52b3422553b2d2815bc116ef8e7fb1db96c (diff)
downloadslackbuilds-a76aea2d565cf789d40e9c5b82d0e53b61d3b758.tar.gz
system/vtcol: Updated README.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--system/vtcol/README8
-rw-r--r--system/vtcol/README.Slackware5
2 files changed, 3 insertions, 10 deletions
diff --git a/system/vtcol/README b/system/vtcol/README
index a972d6d697..0fe1ded5c3 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 1932afa121..f814600351 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"