From: Luke Kenneth Casson Leighton Date: Fri, 15 Apr 2022 02:46:41 +0000 (+0100) Subject: comments on why cp-scripts-to-chroot is needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b4f21fd9ae8a5b49065e4c9a6210217f3c17b50;p=dev-env-setup.git comments on why cp-scripts-to-chroot is needed --- diff --git a/cp-scripts-to-chroot b/cp-scripts-to-chroot index 20ec540..3543af2 100755 --- a/cp-scripts-to-chroot +++ b/cp-scripts-to-chroot @@ -1,4 +1,7 @@ #!/bin/bash +# useful script which copies dev-env-setup into a named chroot. +# (when setting up chroots, this is needed every time) + if [ "$EUID" -ne 0 ] then echo "Please run as root" exit