From 753414631a340ab0895ae5e71449ea6e5e27d441 Mon Sep 17 00:00:00 2001 From: shubhamvis98 <4264954-Shubhamvis98@users.noreply.gitlab.com> Date: Sat, 21 Jan 2023 19:43:32 +0530 Subject: [PATCH] added resize repart config --- third_stage/confs/etc/repart.d/50-root.conf | 3 +++ third_stage/third_stage | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 third_stage/confs/etc/repart.d/50-root.conf diff --git a/third_stage/confs/etc/repart.d/50-root.conf b/third_stage/confs/etc/repart.d/50-root.conf new file mode 100644 index 0000000..80dbec6 --- /dev/null +++ b/third_stage/confs/etc/repart.d/50-root.conf @@ -0,0 +1,3 @@ +[Partition] +Type=root +Weight=100000 \ No newline at end of file diff --git a/third_stage/third_stage b/third_stage/third_stage index eac62c7..61084b9 100755 --- a/third_stage/third_stage +++ b/third_stage/third_stage @@ -23,7 +23,9 @@ sed -i 's/-0.07/0/;s/-0.13/0/' /usr/share/plymouth/themes/kali/kali.script sed -i 's/bash/zsh/' /etc/passwd echo '[*]Copying Configs...' -rsync -HPavzl confs/ / +chown -R root:root confs +rsync -rl confs/ / +chmod 666 /etc/repart.d/* echo '[*]Enabling kali plymouth theme...' plymouth-set-default-theme kali