Compare commits

...

2 Commits

5 changed files with 17 additions and 14 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xinit unifont feh autorandr openbox mlterm lxpanel lxrandr pcmanfm mate-polkit"
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xinit unifont connman-gtk feh autorandr openbox mlterm lxpanel lxrandr pcmanfm"
export WDVN_PACKAGES_REMOVE="$WDVN_PACKAGES_REMOVE xscreensaver"

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=connman
Comment=
Exec=connman-gtk
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false

View File

@ -1,2 +1,2 @@
#!/bin/bash
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xinit xorg xfce4 xfce4-*-plugin xfce4-power-manager gvfs gvfs-backends gvfs-fuse unifont scrot xclip netsurf-gtk x11-xserver-utils xss-lock xsecurelock qt5-style-plugins alsa-utils network-manager-gnome xfce4-terminal mousepad synaptic catfish galculator celluloid gpicview xpdf unrar-free engrampa blueman xscreensaver- lightdm-"
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xinit xorg xfce4 xfce4-*-plugin xfce4-power-manager gvfs gvfs-backends gvfs-fuse unifont scrot xclip netsurf-gtk x11-xserver-utils xss-lock xsecurelock qt5-style-plugins alsa-utils connman-gtk xfce4-terminal mousepad synaptic catfish galculator celluloid gpicview xpdf unrar-free engrampa blueman xscreensaver- lightdm-"

View File

@ -384,19 +384,9 @@ def main():
fh.write('GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX cryptdevice=UUID=' +cryptPartitionUUID+ ' root=UUID=' +installPartitionUUID+ '"\n')
fh.close()
print("Writing luks auto-key ...")
fh = open(ipth(".luks-key"),"w")
fh.write(randomString(64,"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"))
fh.close()
os.chmod(ipth(".luks-key"),600)
proc = subprocess.Popen(["cryptsetup","luksAddKey",ipth(".luks-key")],stdin=subprocess.PIPE)
proc.stdin.write((mainPass + "\n").encode("utf-8"))
proc.stdin.flush()
checkProc(proc)
print("Writing crypttab ...")
fh = open(ipth("etc/crypttab"),"w")
fh.write('system UUID=' +cryptPartitionUUID+ ' /.luks-key luks\n')
fh.write('system UUID=' +cryptPartitionUUID+ ' none luks\n')
fh.close()
print("Writing fstab ...")

View File

@ -1,2 +1,2 @@
#!/bin/bash
export WDVN_PACKAGES="$WDVN_PACKAGES sudo kbd console-setup keyboard-configuration htop network-manager"
export WDVN_PACKAGES="$WDVN_PACKAGES sudo kbd console-setup keyboard-configuration htop connman"