Sha256: 8d1a5165d4d07d071cb37429cc21e554e0b8d0fcc5e9111b5b47f86d3199ba36
Contents?: true
Size: 691 Bytes
Versions: 2
Compression:
Stored size: 691 Bytes
Contents
# frozen_string_literal: true module Getch module Void class Update def initialize @log = Log.new x end protected # https://docs.voidlinux.org/installation/guides/chroot.html#install-base-system-rootfs-method-only def x sync update end private def sync @log.info "Synchronize index...\n" ChrootOutput.new '/usr/bin/xbps-install', '-Suy', 'xbps' end def update ChrootOutput.new '/usr/bin/xbps-install -uy' ChrootOutput.new '/usr/bin/xbps-install -y base-system' ChrootOutput.new '/usr/bin/xbps-remove -y base-voidstrap' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
getch-0.3.3 | lib/getch/void/update.rb |
getch-0.3.0 | lib/getch/void/update.rb |