add more kernel modules required for docker stuff

This commit is contained in:
ghe0 2025-02-21 20:20:03 +02:00
parent b1fd8c355e
commit 09765b7526
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4
2 changed files with 53 additions and 0 deletions

@ -1,8 +1,10 @@
aesni_intel
asn1_encoder
async_tx
async_xor
atkbd
bridge
cbc
cdrom
crc16
@ -32,18 +34,36 @@ intel_gtt
intel_pmc_bxt
intel_rapl_common
intel_rapl_msr
ip6table_filter
ip6table_nat
ip6_tables
ip_set
ip_set_hash_net
iptable_filter
iptable_nat
ip_tables
iTCO_vendor_support
iTCO_wdt
jbd2
libaesgcm
libcrc32c
libps2
llc
loop
lpc_ich
mac_hid
mbcache
mousedev
net_failover
nf_conntrack
nf_defrag_ipv4
nf_defrag_ipv6
nf_nat
nfnetlink
nf_tables
nft_chain_nat
nft_compat
overlay
parport
parport_pc
pcspkr
@ -61,9 +81,11 @@ sha256
sha256_ssse3
sha512_ssse3
sr_mod
stp
tee
trusted
tsm
veth
virtio_blk
virtio_net
vivaldi_fmap
@ -72,5 +94,11 @@ vmw_vsock_virtio_transport_common
vmw_vsock_vmci_transport
vsock
vsock_loopback
xfrm_algo
xfrm_user
xor
x_tables
xt_addrtype
xt_conntrack
xt_MASQUERADE
xt_set

25
scripts/upload_to_registry.sh Executable file

@ -0,0 +1,25 @@
#!/bin/bash
kernel_path="/boot/vmlinuz-linux"
dtrfs_path="$1"
dtrfs_name=$(basename $dtrfs_path)
dtrfs_sha=$(sha256sum $dtrfs_path | awk '{ print $1 }')
kernel_name="vmlinuz-linux-$(uname -r)"
kernel_sha=$(sha256sum $kernel_path | awk '{ print $1 }')
scp $dtrfs_path registry.detee.ltd:/var/www/html/${dtrfs_name}
ssh registry.detee.ltd ln -s $dtrfs_name /var/www/html/${dtrfs_sha}
scp $kernel_path registry.detee.ltd:/var/www/html/${kernel_name}
ssh registry.detee.ltd ln -s $kernel_name /var/www/html/${kernel_sha}
echo "Also add this to detee-cli/src/snp/mod.rs"
echo "
name: \"dtrfs-$(uname -r)\".to_string(),
vendor: \"ghe0\".to_string(),
dtrfs_url: \"http://registry.detee.ltd/${dtrfs_name}\".to_string(),
dtrfs_sha: \"${dtrfs_sha}\".to_string(),
kernel_url: \"http://registry.detee.ltd/${kernel_name}\".to_string(),
kernel_sha: \"${kernel_sha}\".to_string()
"