From a76aea2d565cf789d40e9c5b82d0e53b61d3b758 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Thu, 25 Jan 2018 10:17:34 +1300 Subject: system/vtcol: Updated README. Signed-off-by: Andrew Clemons --- system/vtcol/README | 8 -------- system/vtcol/README.Slackware | 5 +++-- 2 files changed, 3 insertions(+), 10 deletions(-) (limited to 'system') diff --git a/system/vtcol/README b/system/vtcol/README index a972d6d69710..0fe1ded5c333 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 1932afa121e2..f81460035168 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/ \ -m ext4: -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/ -u \ -o /boot/initrd-"$kernel".gz -s /tmp/initrd-tree-"$kernel" -- cgit v1.2.3