Module: RBT::Actions::MetaActions
- Defined in:
- lib/rbt/actions/meta_actions/batch_compile.rb,
lib/rbt/actions/meta_actions/linux_from_scratch.rb,
lib/rbt/actions/meta_actions/beyond_linux_from_scratch.rb
Overview
RBT::Actions::MetaActions
Class Method Summary collapse
-
.batch_compile(i = ARGV) ⇒ Object
# === RBT::Actions::MetaActions.batch_compile ========================================================================= #.
-
.install_beyond_linux_from_scratch ⇒ Object
# === RBT::Actions::MetaActions.install_beyond_linux_from_scratch.
-
.install_linux_from_scratch ⇒ Object
# === RBT::Actions::MetaActions.install_linux_from_scratch.
Class Method Details
.batch_compile(i = ARGV) ⇒ Object
#
RBT::Actions::MetaActions.batch_compile
#
26 27 28 |
# File 'lib/rbt/actions/meta_actions/batch_compile.rb', line 26 def self.batch_compile(i = ARGV) RBT.action(:ChainCompile, i) end |
.install_beyond_linux_from_scratch ⇒ Object
#
RBT::Actions::MetaActions.install_beyond_linux_from_scratch
Install all programs listed in the BLFS webpage.
Note that as of February 2024, this is very incomplete - many more programs have to be added.
#
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/rbt/actions/meta_actions/beyond_linux_from_scratch.rb', line 28 def self.install_beyond_linux_from_scratch # ======================================================================= # # Build up an array of programs to be installed next: # ======================================================================= # = %w( makeca CrackLib cryptsetup cyrussasl GnuPG GnuTLS GPGME iptables libcap LinuxPAM liboauth libpwquality Kerberos Nettle NSS OpenSSH p11kit Polkit polkitgnome Shadow sshaskpass stunnel Sudo Tripwire ) = %w( btrfsprogs dosfstools Fuse jfsutils LVM2 mdadm ntfs3g gptfdisk parted smartmontools sshfs xfsprogs ) [ , ].flatten.each {|this_program| acompile(this_program.downcase) # This is "action compile". } end |
.install_linux_from_scratch ⇒ Object
#
RBT::Actions::MetaActions.install_linux_from_scratch
Note that entries in the following Array starting with a ‘:’ character, will refer to a special, “actionable action”.
#
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/rbt/actions/meta_actions/linux_from_scratch.rb', line 26 def self.install_linux_from_scratch # ======================================================================= # # Build up an array of programs to be installed next: # ======================================================================= # array_install_these_programs = %w( manpages ianaetc glibc zlib bzip2 xz zstd file readline m4 bc flex tcl expect dejagnu pkgconf binutils gmp mpfr mpc attr acl libcap libxcrypt shadow gcc ncurses sed psmisc gettext bison grep bash libtool gdbm gperf expat inetutils less perl xmlparser intltool autoconf automake openssl kmod libelf libffi python flitcore wheel setuptools ninja meson coreutils check diffutils gawk findutils groff grub gzip iproute2 kbd libpipeline make patch tar texinfo ruby vim markupsafe jinja2 systemd_udev mandb procpsng utillinux e2fsprogs sysklogd sysvinit ) array_install_these_programs.each {|this_program| acompile(this_program) # This is "action compile". } end |