*: Remove kali-linux-default on first boot
Unfortunately, it is simply too variable to tell how long it will take to install, instead opt for the safer kali-tools-top10 for now, and users can throw in kali-linux-default themselves if they like.
This commit is contained in:
12
banana-pi.sh
12
banana-pi.sh
@@ -53,7 +53,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog dkms e2fsprogs ifupdown initramfs-tools inxi iw linux-image-armmp man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux u-boot-menu u-boot-sunxi unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -149,8 +149,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -216,14 +214,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# We replace the u-boot menu defaults here so we can make sure the build system doesn't poison it.
|
||||
# We use _EOF_ so that the third-stage script doesn't end prematurely.
|
||||
cat << '_EOF_' > /etc/default/u-boot
|
||||
|
||||
@@ -52,7 +52,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-utils bash-completion console-setup dialog dkms e2fsprogs ifupdown initramfs-tools inxi iw linux-image-armmp man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux u-boot-menu u-boot-sunxi unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -148,8 +148,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -215,14 +213,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Fix startup time from 5 minutes to 25 secs on raising interfaces
|
||||
sed -i 's/^TimeoutStartSec=5min/TimeoutStartSec=25/g' "/usr/lib/systemd/system/networking.service"
|
||||
|
||||
|
||||
12
bbb.sh
12
bbb.sh
@@ -41,7 +41,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy udhcpd"
|
||||
|
||||
@@ -141,8 +141,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="-force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -226,14 +224,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
@@ -52,7 +52,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs firmware-samsung ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xserver-xorg-input-synaptics xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -146,8 +146,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -211,14 +209,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Try and make the console a bit nicer
|
||||
# Set the terminus font for a bit nicer display.
|
||||
sed -i -e 's/FONTFACE=.*/FONTFACE="Terminus"/' /etc/default/console-setup
|
||||
|
||||
@@ -52,7 +52,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -146,8 +146,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -211,14 +209,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Try and make the console a bit nicer
|
||||
# Set the terminus font for a bit nicer display.
|
||||
sed -i -e 's/FONTFACE=.*/FONTFACE="Terminus"/' /etc/default/console-setup
|
||||
|
||||
@@ -52,7 +52,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xserver-xorg-input-synaptics xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware florence kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -146,8 +146,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="-force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -212,14 +210,6 @@ apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
apt download kali-menu
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Try and make the console a bit nicer
|
||||
# Set the terminus font for a bit nicer display.
|
||||
sed -i -e 's/FONTFACE=.*/FONTFACE="Terminus"/' /etc/default/console-setup
|
||||
|
||||
@@ -52,7 +52,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-linux-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -146,8 +146,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -211,14 +209,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
@@ -52,7 +52,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-linux-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -146,8 +146,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -211,14 +209,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
cubox-i.sh
12
cubox-i.sh
@@ -54,7 +54,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db linux-image-armmp mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux u-boot-menu u-boot-imx unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -148,8 +148,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -213,14 +211,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# We replace the u-boot menu defaults here so we can make sure the build system doesn't poison it.
|
||||
# We use _EOF_ so that the third-stage script doesn't end prematurely.
|
||||
cat << '_EOF_' > /etc/default/u-boot
|
||||
|
||||
12
cubox.sh
12
cubox.sh
@@ -54,7 +54,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion conole-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutls psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -148,8 +148,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -213,14 +211,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
@@ -54,7 +54,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi isc-dhcp-server iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux u-boot-menu unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd can-utils i2c-tools"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -154,8 +154,6 @@ Environment=DEBIAN_FRONTEND=noninteractive
|
||||
ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -219,14 +217,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# We replace the u-boot menu defaults here so we can make sure the build system doesn't poison it.
|
||||
# We use _EOF_ so that the third-stage script doesn't end prematurely.
|
||||
cat << '_EOF_' > /etc/default/u-boot
|
||||
|
||||
12
kalitap.sh
12
kalitap.sh
@@ -41,7 +41,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkil screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -143,8 +143,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -213,14 +211,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
luna.sh
12
luna.sh
@@ -41,7 +41,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -141,8 +141,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -203,14 +201,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
nanopi2.sh
12
nanopi2.sh
@@ -55,7 +55,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev python3-smbus triggerhappy"
|
||||
|
||||
@@ -154,8 +154,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -240,14 +238,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
nanopi3.sh
12
nanopi3.sh
@@ -55,7 +55,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev python3-smbus triggerhappy"
|
||||
|
||||
@@ -155,8 +155,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -241,14 +239,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
@@ -48,7 +48,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
#desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd haveged"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libssl-dev triggerhappy"
|
||||
|
||||
@@ -143,8 +143,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -312,14 +310,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Enable bluetooth - we do this way because we haven't written a systemd service
|
||||
# file for it yet.
|
||||
update-rc.d brcm_patchram_plus defaults
|
||||
|
||||
12
odroid-c.sh
12
odroid-c.sh
@@ -55,7 +55,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware fbset kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -149,8 +149,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -219,14 +217,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
@@ -60,7 +60,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-inux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware fbset kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
#kali="build-essential debhelper devscripts dput lintian quilt git-buildpackage gitk dh-make sbuild"
|
||||
@@ -155,8 +155,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -242,14 +240,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
odroid-c2.sh
12
odroid-c2.sh
@@ -60,7 +60,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware fbset kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -154,8 +154,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -239,14 +237,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
odroid-u2.sh
12
odroid-u2.sh
@@ -55,7 +55,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -149,8 +149,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -214,14 +212,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
odroid-w.sh
12
odroid-w.sh
@@ -44,7 +44,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -147,8 +147,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -212,14 +210,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
@@ -55,7 +55,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutls vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -138,8 +138,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg:options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -217,14 +215,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
@@ -54,7 +54,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog dkms e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -147,8 +147,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -221,14 +219,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Enable suspend2idle
|
||||
sed -i s/"#SuspendState=mem standby freeze"/"SuspendState=freeze"/g /etc/systemd/sleep.conf
|
||||
|
||||
|
||||
12
pinebook.sh
12
pinebook.sh
@@ -54,7 +54,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils arm-trusted-firmware bash-completion console-setup dialog dkms e2fsprogs ifupdown initramfs-tools inxi iw linux-headers-arm64 linux-image-arm64 man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux u-boot-sunxi u-boot-menu unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xserver-xorg-input-evdev xserver-xorg-input-synaptics xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -147,8 +147,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -234,14 +232,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt --yes --download-only install kali-linux-default
|
||||
|
||||
# We replace the u-boot menu defaults here so we can make sure the build system doesn't poison it.
|
||||
# We use _EOF_ so that the third-stage script doesn't end prematurely.
|
||||
cat << '_EOF_' > /etc/default/u-boot
|
||||
|
||||
12
riot.sh
12
riot.sh
@@ -57,7 +57,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -152,8 +152,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -249,14 +247,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
rpi.sh
12
rpi.sh
@@ -44,7 +44,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev python3-configobj python3-pip python3-requests python3-rpi.gpio python3-smbus triggerhappy"
|
||||
|
||||
@@ -141,8 +141,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -271,14 +269,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Fix startup time from 5 minutes to 15 secs on raise interface wlan0
|
||||
# On RPi, if it's set to 15, then ethernet doesn't start, so we increase it to 25
|
||||
sed -i 's/^TimeoutStartSec=5min/TimeoutStartSec=25/g' "/usr/lib/systemd/system/networking.service"
|
||||
|
||||
@@ -46,7 +46,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev lua5.1 python3-configobj python3-pip python3-requests python3-rpi.gpio python3-smbus triggerhappy wpasupplicant"
|
||||
|
||||
@@ -166,8 +166,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -342,14 +340,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Fix startup time from 5 minutes to 15 secs on raise interface wlan0
|
||||
sed -i 's/^TimeoutStartSec=5min/TimeoutStartSec=15/g' "/lib/systemd/system/networking.service"
|
||||
|
||||
|
||||
12
rpi2.sh
12
rpi2.sh
@@ -44,7 +44,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev python3-configobj python3-pip python3-requests python3-rpi.gpio python3-smbus triggerhappy"
|
||||
|
||||
@@ -146,8 +146,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -274,14 +272,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get install --yes --download-only kali-linux-default
|
||||
|
||||
# Fix startup time from 5 minutes to 15 secs on raise interface wlan0
|
||||
sed -i 's/^TimeoutStartSec=5min/TimeoutStartSec=15/g' "/lib/systemd/system/networking.service"
|
||||
|
||||
|
||||
12
rpi3-64.sh
12
rpi3-64.sh
@@ -33,7 +33,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xserver-xorg-input-evdev xserver-xorg-input-synaptics"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev python3-configobj python3-pip python3-requests python3-rpi.gpio python3-smbus triggerhappy"
|
||||
|
||||
@@ -141,8 +141,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c "apt-get --yes -o dpkg::options::=--force-confnew -o dpkg::options::=--force-overwrite install kali-linux-default"
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -304,14 +302,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get install --yes --download-only kali-linux-default
|
||||
|
||||
# Fix startup time from 5 minutes to 15 secs on raise interface wlan0
|
||||
sed -i 's/^TimeoutStartSec=5min/TimeoutStartSec=15/g' "/lib/systemd/system/networking.service"
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
|
||||
@@ -32,7 +32,7 @@ machine=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev python3-configobj python3-pip python3-requests python3-rpi.gpio python3-smbus triggerhappy"
|
||||
|
||||
@@ -138,8 +138,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -299,14 +297,6 @@ apt-get download ca-certificates
|
||||
apt-get download libgdk-pixbuf2.0-0
|
||||
apt-get download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get install --yes --download-only kali-linux-default
|
||||
|
||||
# Try and make the console a bit nicer
|
||||
# Set the terminus font for a bit nicer display.
|
||||
sed -i -e 's/FONTFACE=.*/FONTFACE="Terminus"/' /etc/default/console-setup
|
||||
|
||||
12
trimslice.sh
12
trimslice.sh
@@ -55,7 +55,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware i2c-tools kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -172,8 +172,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -259,14 +257,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --download-only install kali-linux-default
|
||||
|
||||
rm -f /usr/sbin/policy-rc.d
|
||||
rm -f /usr/sbin/invoke-rc.d
|
||||
dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
|
||||
12
utilite.sh
12
utilite.sh
@@ -55,7 +55,7 @@ unset CROSS_COMPILE
|
||||
arm="kali-linux-arm ntpdate"
|
||||
base="apt-transport-https apt-utils bash-completion console-setup dialog e2fsprogs ifupdown initramfs-tools inxi iw man-db mlocate netcat-traditional net-tools parted pciutils psmisc rfkill screen tmux unrar usbutils vim wget whiptail zerofree"
|
||||
desktop="kali-desktop-xfce kali-root-login xserver-xorg-video-fbdev xfonts-terminus xinput"
|
||||
tools="wireshark"
|
||||
tools="kali-tools-top10 wireshark"
|
||||
services="apache2 atftpd"
|
||||
extras="alsa-utils bc bison bluez bluez-firmware kali-linux-core libnss-systemd libssl-dev triggerhappy"
|
||||
|
||||
@@ -151,8 +151,6 @@ ExecStart=/bin/sh -c "rm -rf /etc/ssl/certs/*.pem && dpkg -i /root/*.deb"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure shared-mime-info"
|
||||
ExecStart=/bin/sh -c "dpkg-reconfigure xfonts-base"
|
||||
ExecStart=/bin/sh -c "rm -f /root/*.deb"
|
||||
ExecStart=/bin/sh -c 'apt-get --yes -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-overwrite" install kali-linux-default'
|
||||
ExecStart=/bin/sh -c "apt-get clean"
|
||||
ExecStartPost=/bin/systemctl disable smi-hack
|
||||
|
||||
[Install]
|
||||
@@ -235,14 +233,6 @@ apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
# This is a bit annoying, but since we build releases against
|
||||
# kali-last-snapshot, we need either to keep k-l-s in sources.list or we need to
|
||||
# do this.
|
||||
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
|
||||
echo "#deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get --yes --download-only install kali-linux-default
|
||||
|
||||
# Fix startup time from 5 minutes to 15 secs on raise interface wlan0
|
||||
sed -i 's/^TimeoutStartSec=5min/TimeoutStartSec=15/g' "/usr/lib/systemd/system/networking.service"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user