summaryrefslogtreecommitdiff
path: root/rootfs/samizdat.yaml
blob: cd3718eb9ad18427ecd83a03eb661e95361e865e (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
41
42
43
44
45
46
47
48
49
parent: samizdat-wip
unpack-only: false
binaries:
- samizdat-diff-root
- samizdat-daily-snapshot-root
- kiki
- cokiki
- hosts
- selfstrap
binaries-optional:
- dhtd
- dht
packages:
- linux-image-$(kver)-$(karch)

- libfido2-dev
- ../ssh_8.4p1-2_all.deb
- ../openssh-client_8.4p1-2_$(debarch).deb
- ../openssh-server_8.4p1-2_$(debarch).deb
- ../openssh-sftp-server_8.4p1-2_$(debarch).deb
- ../ssh-askpass-gnome_8.4p1-2_$(debarch).deb

# - ../openssh-tests_8.4p1-2_$(debarch).deb
# - putty-tools
# - python3-twisted

# - ../openssh/dh-runit_2.8.11_all.deb
# - ../openssh/fido2-tools_1.5.0-2_amd64.deb
# - ../openssh/libfido2-1_1.5.0-2_amd64.deb
# - ../openssh/libfido2-dev_1.5.0-2_amd64.deb
# - ../openssh/runit-helper_2.8.11_all.deb


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"
- "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"