Developer question: How to create/improve the existing dietpi-*** scripts & test them ? #8130
Replies: 1 comment 8 replies
-
|
You could use the DietPi container images: https://dietpi.com/downloads/images/ When using a different Linux distro: Almost all scripts expect and load G_HW_MODEL=20 # 20 => VM
G_HW_MODEL_NAME='Test VM (x86_64)' # Name here does not really matter, mostly visual
G_HW_ARCH=10 # 10 => x86_64
G_HW_ARCH_NAME=$(uname -m)
G_HW_CPUID=0 # 0 => undefined
G_HW_CPU_CORES=$(nproc)
G_DISTRO=8 # our historical internal numbering: 7 => Bookworm, 8 => Trixie, 9 => Forky
G_DISTRO_NAME='trixie'
G_ROOTFS_DEV=$(findmnt -no SOURCE /)
G_HW_UUID=$(cat /proc/sys/kernel/random/uuid) # could be also skipped, used only for dietpi-survey+bugreport uploadsSince |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a page detailing how we can develop new
dietpi-****scripts or improve them and test ?Is there a debian container that we can use for that that purpose and script able to copy the the
dietpi-***, files to the container ?Can the
dietpi-***scripts run in a centos/fedora VM ?Beta Was this translation helpful? Give feedback.
All reactions