mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Update comment and supress noise
This commit is contained in:
parent
6408e5ac74
commit
20d984a61a
3 changed files with 5 additions and 6 deletions
|
|
@ -149,7 +149,7 @@ fi # if the root volun already exist
|
|||
# Finishing message
|
||||
cat <<HEREDOC
|
||||
|
||||
1-pre-install.sh : Done. Next, run the Ubiquity installer.
|
||||
1-pre-install.sh : Done.
|
||||
|
||||
HEREDOC
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ fi # "sourced" validation
|
|||
if [ ! -e /target/etc/default/grub ] ; then
|
||||
cat <<HEREDOC 1>&2
|
||||
***** ERROR : The /target/etc/default/grub is not ready. *****
|
||||
Perhaps, to early to execute this script.
|
||||
Perhaps, too early to execute this script.
|
||||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
|
|
@ -26,13 +26,12 @@ HEREDOC
|
|||
fi # if grub file exists
|
||||
|
||||
# Make target GRUB aware to the crypt partition
|
||||
echo "...add GRUB_ENABLE_CRYPTODISK entry to /target/etc/default/grub "
|
||||
echo "...Add GRUB_ENABLE_CRYPTODISK entry to /target/etc/default/grub "
|
||||
echo "GRUB_ENABLE_CRYPTODISK=y" >> /target/etc/default/grub
|
||||
|
||||
# Finishing message
|
||||
cat <<HEREDOC
|
||||
|
||||
2-para-install.sh : Done.
|
||||
Make sure to click "Continue Testing", when the Ubiquity installer finishes.
|
||||
|
||||
HEREDOC
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ mount -a
|
|||
|
||||
# Set up the kernel hook of encryption
|
||||
echo "...Install cryptsetup-initramfs package."
|
||||
apt install -y cryptsetup-initramfs
|
||||
apt -qq install -y cryptsetup-initramfs
|
||||
echo "...Register key file to the ramfs"
|
||||
echo "KEYFILE_PATTERN=/etc/luks/*.keyfile" >> /etc/cryptsetup-initramfs/conf-hook
|
||||
echo "UMASK=0077" >> /etc/initramfs-tools/initramfs.conf
|
||||
|
|
@ -38,7 +38,7 @@ echo "UMASK=0077" >> /etc/initramfs-tools/initramfs.conf
|
|||
# Prepare a key file to embed in to the ramfs.
|
||||
echo "...Prepair key file."
|
||||
mkdir /etc/luks
|
||||
dd if=/dev/urandom of=/etc/luks/boot_os.keyfile bs=4096 count=1
|
||||
dd if=/dev/urandom of=/etc/luks/boot_os.keyfile bs=4096 count=1 status=none
|
||||
chmod u=rx,go-rwx /etc/luks
|
||||
chmod u=r,go-rwx /etc/luks/boot_os.keyfile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue