Advertisement
s243a

Old: devuan tinycore hybird base sfs

May 15th, 2019
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.09 KB | None | 0 0
  1. # ubuntu/debian puppy basesfs pkglist
  2. #
  3. # generic commands: %exit %include %makesfs %import
  4. # special package commands: %get_pkgs_by_priority %addbase %addpkg %bblinks %remove %repo %lock %cutdown
  5. # installer commands: %bootstrap %dpkg %dpkgchroot %depend %nodepend %reinstall %dpkg_configure
  6. # startup default: bootstrap, nodepend
  7. #
  8. # extra param for commands, params can be quoted
  9. # %include        include-file
  10. # %makesfs        output.sfs [squashfs-param]
  11. # %pkg_by_prio    priority ["inclusion-egrep"] ["exclusion-egrep"]
  12. # %bblinks        [nousr]
  13. # %remove         pkgname ...
  14. # %repo           url version sections pkgdb
  15. # %addpkg         pkgname ...
  16. # %reinstall      pkgname ...
  17. # %dpkg_configure configure flags
  18. # %lock           pkgname ...
  19. # %cutdown        [all doc gtkdoc nls cache dev]
  20. # %import         dir ...
  21. #
  22. # %symlink        source target
  23. # %rm             file ... (-rf flag is always used)
  24. # %mkdir          dir ... (-p flag is always used)
  25. # %touch          file ...
  26. # % %chroot         command ...
  27. #
  28. # start with %pkgs_by_prio required. Otherwise start with libc6.
  29. #
  30.  
  31. # essential packages
  32. %pkgs_by_priority "required" ".*lib.*|^tzdata|^bash|^dash|^lsb-base|^ncurses.*|^bsdutils|^kmod|^mount|^insserv|^mount|^sysvinit-utils|^procps|^makedev" "^klibc|.*plymouth.*|mountall"
  33. #%pkgs_by_priority "required"
  34. #%dpkg             # use dpkg installer instead of bootstrap
  35. #%dpkgchroot       # use dpkg-chroot installer instead of bootstrap
  36. %addpkg tinycore_base_gz
  37. %addpkg puppycore_noarch
  38. %addpkg puppycore_i386_strech
  39. %addpkg PKG
  40.  
  41. %depend            # turn on dependency
  42. #coreutils
  43. #grep
  44. #gawk
  45. #mawk
  46. #sed
  47. #tar
  48. #gzip
  49. #cpio
  50. dialog
  51. gettext
  52.  
  53. # extra packages
  54. #screen             # useful for debugging
  55. #file               # for checking file types
  56. #locales            # locale files
  57.  
  58. # xorg packages
  59. #%nodepend          # disable dep for udev, otherwise brings loads of dependencies
  60. #libkmod2           # debian needs this
  61. #eudev
  62. #%depend            # enable dep for xorg, makes life simpler for us
  63. aterm           #Same name in tinycore
  64. libfltk1.3      #Instead of fltk-1.3 (from tinycore)
  65. flwm            #Instead of flwm_topside (from tinycore)
  66. libfreetype6    #Instead of freetype (from tinycore)
  67. libimlib2       #Instead of imlib2-bin & imlib2  (from tinycore)
  68. libfontenc1     #Instead of libfontenc (from tinycore)
  69. libice6         #Instead of libICE (from Tinycore)
  70. libjpeg62-turbo #Instead of libjpeg-turbo (from Tinycore)
  71. libpng16-16     #Instead of libpng (from tinycore)
  72. libsm6          #Instead of libSM (from tinycore)
  73. libx11-6        #Instead of libX11 (from Tinycore)
  74. libxau6         #Instead of libXau (from tinycore)
  75.  
  76. libxdmcp6       #Instead of libXdmcp (From tinycore)
  77. libxext6        #Instead of libXext (From tinycore)
  78. libxfont1       #Instead of libXfont (From tinycore)
  79. libxi6          #Instead of libXi (From tinycore)
  80. libxmu6         #Instead of libXmu (From tinycore)
  81. libxpm4         #Instead of libXpm (From tinycore)
  82. libxrandr2      #Instead of libXrandr (From tinycore)
  83. libxrender1     #Instead of libXrender (From tinycore)
  84. libxt6          #Instead of libXt (From tinycore)
  85. wbar            #Same name on tinycore
  86.  
  87.  
  88.  
  89.  
  90.  
  91. ####### Maybe keep this since we dont' have matches for Xlibs, Xprogs, Xvesa but turn off dependency tracking
  92. %nodepend
  93. xserver-xorg
  94. xinit
  95. x11-utils
  96. x11-xserver-utils
  97. fonts-dejavu-core  # standard font
  98. #######
  99.  
  100.  
  101. # debian dependencies
  102. libxcb-shm0 #Instead of libxcb (FromTinycore)
  103.  
  104. # window managers etc
  105. jwm
  106.  
  107. mc #Replaces rox-filer          # this will pull-in gtk2
  108. %depend
  109.  
  110. #rxvt-unicode using aterm instead
  111.  
  112. ## extra libs
  113. #librsvg2-2
  114. #%nodepend          # librsvg2-bin will pull gtk3 if told not to.
  115. #librsvg2-bin       # to convert puppy SVG icons to png
  116. #%depend
  117. #librsvg2-common    # pixbuf loaders, so GTK2 can shows SVG icons
  118. #libgnome-menu2    # for jwm-xdgmenu, openbox-xdgmenu, etc
  119.  
  120. # apps
  121. # mtpaint
  122.  
  123. # apt and friends - with its run-time dependencies (among others)
  124. diffutils
  125. util-linux
  126. e2fsprogs
  127. findutils
  128. perl-base
  129. module-init-tools
  130. libatm1
  131. passwd
  132. isc-dhcp-common
  133. iproute2
  134. isc-dhcp-client
  135. psmisc
  136. libxtables10
  137. gcc-6-base
  138. apt-utils
  139. apt
  140. gnupg
  141. devuan-keyring
  142.  
  143. # enable proper support for package signing
  144. %dpkgchroot
  145. %reinstall devuan-keyring apt
  146. %bootstrap
  147.  
  148. # network tools to make SNS happy
  149. ifplugd
  150. dhcpcd5
  151. wireless-tools
  152. wpasupplicant
  153.  
  154. # fixes for apt-get: re-install perl-base and xserver-xorg-core with dpkg
  155. %dpkgchroot
  156. %reinstall perl-base xserver-xorg-core
  157. %bootstrap         # switch back to bootstrap installer - faster
  158.  
  159. synaptic # this will pull-in gtk3
  160. dbus
  161.  
  162. # puppy specific packages
  163. #%repo http://jamesbond3142.no-ip.org/puppy-extra puppy main Packages.gz
  164. xdialog            # note: only i386 arch available
  165. gtkdialog          # note: only i386 arch available
  166.  
  167. # final steps
  168. # remove extremely toxic packages, then setup the dummy
  169. %remove initscripts ifupdown sysv-rc upstart mountall
  170. %dummy  initscripts ifupdown sysv-rc upstart mountall
  171.  
  172. # these useless packages got pulled by apt-get -f install, so prevent it from getting installed
  173. %remove plymouth libplymouth2 plymouth-theme-ubuntu-text
  174. %dummy  plymouth libplymouth2 plymouth-theme-ubuntu-text
  175. %remove busybox-initramfs initramfs-tools-bin klibc-utils initramfs-tools
  176. %dummy  busybox-initramfs initramfs-tools-bin klibc-utils initramfs-tools
  177. %dummy  adduser base-files
  178.  
  179. # install busybox and its symlinks, fallback for missing utilities
  180. busybox-static
  181. %bblinks
  182.  
  183. # install extra built-in packages
  184. %addpkg pthemes
  185. %addpkg rox-filer-data
  186.  
  187. # install puppy-base - MUST BE LAST - unless overriding puppy-base
  188. %mkdir /dev
  189. %dpkg_configure --force-all -a
  190. %rm /dev
  191. %addbase
  192. %addpkg debian-setup # specific debian setup, overriding puppy-base
  193. %lock puppy-base puppy-base-arch libc6 # example: never update puppy base and libc6
  194.  
  195. %addpkg james-staging # temporary area to changes before they get merged to rootfs
  196.  
  197. # cutdown the size
  198. %cutdown doc gtkdoc nls # all # maximum cutdown
  199.  
  200. # make the sfs (optional)
  201. %makesfs iso/iso-root/puppy.sfs -comp gzip # -Xcompression-level 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement