Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:additional-software:imagebuilder [2023/09/15 05:28] – [Restricting root access] simplify vgaeteradocs:guide-user:additional-software:imagebuilder [2024/04/01 16:18] – [Arch / Manjaro / EndeavourOS] sixx
Line 27: Line 27:
 Example dependencies in the most common distros: Example dependencies in the most common distros:
  
-==== Arch / Manjaro ====+==== Arch ====
 <code bash> <code bash>
 sudo pacman -S --needed base-devel ncurses zlib gawk git gettext \ sudo pacman -S --needed base-devel ncurses zlib gawk git gettext \
Line 33: Line 33:
 </code> </code>
  
-==== CentOS / Fedora ====+==== Fedora ====
 <code bash> <code bash>
 sudo dnf install git gawk gettext ncurses-devel zlib-devel \ sudo dnf install git gawk gettext ncurses-devel zlib-devel \
 openssl-devel libxslt wget which @c-development @development-tools \ openssl-devel libxslt wget which @c-development @development-tools \
-@development-libs zlib-static which python3+@development-libs zlib-static which python3 perl
 </code> </code>
  
-==== Debian / Ubuntu ====+==== Debian 12+ / Ubuntu / Mint ====
 <code bash> <code bash>
-sudo apt install build-essential libncurses-dev libncursesw-dev \ +sudo apt install build-essential libncurses-dev zlib1g-dev gawk git 
-zlib1g-dev gawk git gettext libssl-dev xsltproc rsync wget unzip python3+gettext libssl-dev xsltproc rsync wget unzip python3 python3-distutils
 </code> </code>
  
Line 80: Line 80:
 | ''BIN_DIR'' | Alternative output directory for the images | | ''BIN_DIR'' | Alternative output directory for the images |
 | ''EXTRA_IMAGE_NAME'' | Add this to the output image filename (sanitized) | | ''EXTRA_IMAGE_NAME'' | Add this to the output image filename (sanitized) |
-| ''DISABLED_SERVICES''The names of services from ''/etc/init.d'' to disable, e.g. ''dhcp'' for dnsmasq |+| ''DISABLED_SERVICES''A list of services to disable |
  
 Run ''make help'' to get [[docs:guide-user:additional-software:imagebuilder#detailed_help|detailed help]]. Run ''make help'' to get [[docs:guide-user:additional-software:imagebuilder#detailed_help|detailed help]].
Line 145: Line 145:
  
 <code bash> <code bash>
-make image PROFILE="profile-name" PACKAGES="pkg1 pkg2 pkg3 -pkg4 -pkg5 -pkg6" FILES="files"+make image 
 +PROFILE="profile-name" 
 +PACKAGES="pkg1 pkg2 pkg3 -pkg4 -pkg5 -pkg6" 
 +FILES="files" \ 
 +DISABLED_SERVICES="svc1 svc2 svc3"
 </code> </code>
  
Line 166: Line 170:
 scp root@192.168.1.1:/etc/config/wireless files/etc/config/ scp root@192.168.1.1:/etc/config/wireless files/etc/config/
 scp root@192.168.1.1:/etc/config/firewall files/etc/config/ scp root@192.168.1.1:/etc/config/firewall files/etc/config/
-make image PROFILE="wl500gp" PACKAGES="nano openvpn -ppp -ppp-mod-pppoe" FILES="files"+make image 
 +PROFILE="wl500gp" 
 +PACKAGES="nano openvpn -ppp -ppp-mod-pppoe" 
 +FILES="files" \ 
 +DISABLED_SERVICES="dnsmasq firewall odhcpd"
 </code> </code>
  
Line 316: Line 324:
 /etc/init.d/dropbear restart /etc/init.d/dropbear restart
 EOF EOF
-make image FILES="files" PACKAGES="nano shadow sudo"+make image 
 +FILES="files" 
 +PACKAGES="nano shadow sudo"
 </code> </code>
  
  • Last modified: 2024/09/20 19:32
  • by lessload