Compare commits
3 commits
a067e9e73c
...
2b1c6136ef
Author | SHA1 | Date | |
---|---|---|---|
2b1c6136ef | |||
35fb13fbda | |||
ffe748b2d3 |
3 changed files with 29 additions and 0 deletions
25
airootfs/usr/local/bin/cowspace-set
Executable file
25
airootfs/usr/local/bin/cowspace-set
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
if [[ "$1" == "-h" || "$1" == "--help" || "$1" == "" ]]; then
|
||||
cat <<EOF
|
||||
Usage: $0 SIZE
|
||||
Resizes the root of the live filesystem.
|
||||
|
||||
SIZE is an integer with optional unit.
|
||||
Valid units are K,M,G,T,P, and E, denoting powers of 1024.
|
||||
EOF
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ "$EUID" != 0 ]]; then
|
||||
echo "Please run this script as root."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
set -x
|
||||
|
||||
mount -o remount,size="$1" /run/archiso/cowspace
|
|
@ -134,6 +134,7 @@ qt6ct
|
|||
pipewire
|
||||
pipewire-jack
|
||||
pipewire-pulse
|
||||
wireplumber
|
||||
pavucontrol-qt
|
||||
mpv
|
||||
yt-dlp
|
||||
|
@ -271,3 +272,5 @@ gvfs-mtp
|
|||
gvfs-nfs
|
||||
gvfs-smb
|
||||
foot-terminfo
|
||||
zfs-utils-git
|
||||
zfs-dkms-git
|
||||
|
|
|
@ -26,5 +26,6 @@ file_permissions=(
|
|||
["/usr/local/bin/Installation_guide"]="0:0:755"
|
||||
["/usr/local/bin/livecd-sound"]="0:0:755"
|
||||
["/usr/local/bin/import-gsettings"]="0:0:755"
|
||||
["/usr/local/bin/cowspace-set"]="0:0:755"
|
||||
["/etc/profile.d/99-greeting.sh"]="0:0:755"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue