summaryrefslogtreecommitdiff
path: root/rootfs/samizdat.yaml
blob: 3bbedc3df6b9b4beeb2dad12c5d8d5761c3fa50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
parent: build-deps
unpack-only: false
binaries:
- samizdat-diff-root
- samizdat-daily-snapshot-root
- kiki
- cokiki
- hosts
packages:
- sudo
- dbus-x11
- linux-image-$(kver)-$(karch)
- ../openssh-client_8.4p1-2_$(debarch).deb
- ../openssh-server_8.4p1-2_$(debarch).deb
- ../openssh-sftp-server_8.4p1-2_$(debarch).deb
#- ../openssh-tests_8.4p1-2_$(debarch).deb
#- putty-tools
- ../ssh_8.4p1-2_all.deb
- ../ssh-askpass-gnome_8.4p1-2_$(debarch).deb
- sshfs
- procps
- net-tools
- wireless-tools
unit-files:
- rc-local.service

skel-files: []

chroot-commands:
#- "dpkg-statoverride"
- "useradd u -G sudo -m -p '' -s /bin/bash"
- "useradd d -G sudo -m -p '' -s /bin/bash"
- "echo '#!/bin/sh' > /etc/rc.local && chmod +x /etc/rc.local"
- "echo loginctl enable-linger u >> /etc/rc.local"
- "dpkg --configure sudo || true"
- "touch /var/lib/sudo/lectured/u"
- "mkdir -p /etc/sudoers.d; echo 'u ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/u"

- "systemctl enable debug-shell"
- "DEBIAN_FRONTEND=noninteractive apt -f install; true"