From c9c2dce8585c33476a5b27915aa75b0204342dc3 Mon Sep 17 00:00:00 2001 From: Lian Drake Date: Fri, 25 Oct 2024 06:42:46 -0400 Subject: [PATCH] Updated, added rc config files to fix podman on Void --- etc/rc.conf | 47 +++++++++++++++++++++++++++++++++++++++++++++++ etc/rc.local | 6 ++++++ 2 files changed, 53 insertions(+) create mode 100644 etc/rc.conf create mode 100755 etc/rc.local diff --git a/etc/rc.conf b/etc/rc.conf new file mode 100644 index 000000000..315cf9dea --- /dev/null +++ b/etc/rc.conf @@ -0,0 +1,47 @@ +# /etc/rc.conf - system configuration for void + +# Set the host name. +# +# NOTE: it's preferred to declare the hostname in /etc/hostname instead: +# - echo myhost > /etc/hostname +# +#HOSTNAME="void-live" + +# Set RTC to UTC or localtime. +#HARDWARECLOCK="UTC" + +# Set timezone, availables timezones can be found at /usr/share/zoneinfo. +# +# NOTE: it's preferred to set the timezone in /etc/localtime instead: +# - ln -sf /usr/share/zoneinfo/ /etc/localtime +# Setting the timezone here requires a reboot to apply any changes/fixes +# and read-write access to the filesystem. +# +#TIMEZONE="Europe/Madrid" + +# Keymap to load, see loadkeys(8). +#KEYMAP="es" + +# Console font to load, see setfont(8). +#FONT="lat9w-16" + +# Console map to load, see setfont(8). +#FONT_MAP= + +# Font unimap to load, see setfont(8). +#FONT_UNIMAP= + +# Amount of ttys which should be setup. +#TTYS= + +# Set the mode for cgroup mounts. +# hybrid: mount cgroup v1 under /sys/fs/cgroup and +# cgroup v2 under /sys/fs/cgroup/unified +# legacy: mount cgroup v1 /sys/fs/cgroup +# unified: mount cgroup v2 under /sys/fs/cgroup +CGROUP_MODE=unified + +# Set this to true only if you do not want seed files to actually credit the +# RNG, for example if you plan to replicate this file system image and do not +# have the wherewithal to first delete the contents of /var/lib/seedrng. +#SEEDRNG_SKIP_CREDIT=false diff --git a/etc/rc.local b/etc/rc.local new file mode 100755 index 000000000..b8a1f72c4 --- /dev/null +++ b/etc/rc.local @@ -0,0 +1,6 @@ +#!/bin/sh +# Default rc.local for void; add your custom commands here. +# +# This is run by runit in stage 2 before the services are executed +# (see /etc/runit/2). +mount --make-rshared /