Skip to content

Commit

Permalink
novnc: Fix #13
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Venz <[email protected]>
  • Loading branch information
ikstream committed Apr 11, 2023
1 parent 8171972 commit f32cc64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ define rootfs

cp --recursive --preserve=timestamps --backup --suffix=.pacnew rootfs/* $(BUILDDIR)/

fakechroot -- fakeroot -- chroot $(BUILDDIR) update-ca-trust
fakechroot -- fakeroot -- chroot $(BUILDDIR) update-ca-trust
fakechroot -- fakeroot -- chroot $(BUILDDIR) locale-gen
fakechroot -- fakeroot -- chroot $(BUILDDIR) sh -c 'pacman-key --init && pacman-key --populate archlinux blackarch && bash -c "rm -rf etc/pacman.d/gnupg/{openpgp-revocs.d/,private-keys-v1.d/,pubring.gpg~,gnupg.S.}*"'

Expand Down
3 changes: 2 additions & 1 deletion blackarch-novnc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ FROM blackarchlinux/blackarch:latest
# hostapd-wpe needs make, but it's not a dep because it's assumed to be installed despite not being a dep
RUN pacman -Syu --noconfirm make && \
# Install packages
pacman -Syu --noconfirm openssh vim tmux screen supervisor iw man mlocate pciutils less bash-completion novnc \
pacman -Syu --noconfirm openssh git vim tmux screen supervisor iw man mlocate pciutils less bash-completion novnc \
xorg-server-xvfb x11vnc xfce4 xfce4-goodies xfce4-power-manager blackarch-config-xfce blackarch-menus blackarch-wallpaper \
blackarch-config-cursor blackarch-config-icons blackarch-config-zsh ttf-liberation && \
# Point wallpaper to the right files
sed -i 's/backgrounds\/blackarch.png/blackarch\/wallpaper.png/g' /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml && \
# Copy BlackArch configs
cp -r /etc/skel/. /root/. && \
rm -f /usr/bin/websockify && \
echo 'root:blackarch' | chpasswd && \
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config

Expand Down

0 comments on commit f32cc64

Please sign in to comment.