summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchiso/build.sh4
l---------archiso/overlay1
-rw-r--r--archiso/packages13
-rw-r--r--overlay/etc/locale.gen1
-rw-r--r--overlay/etc/locale.nopurge57
-rw-r--r--overlay/etc/rc.conf117
6 files changed, 192 insertions, 1 deletions
diff --git a/archiso/build.sh b/archiso/build.sh
index e99d42e..946b483 100755
--- a/archiso/build.sh
+++ b/archiso/build.sh
@@ -18,7 +18,7 @@ make_basefs() {
# Additional packages (root-image)
make_packages() {
- mkarchiso ${verbose} -D "${install_dir}" -p "$(grep -v ^# packages.${arch})" create "${work_dir}"
+ mkarchiso ${verbose} -D "${install_dir}" -p "$(grep -v ^# packages)" create "${work_dir}"
}
# Customize installation (root-image)
@@ -28,6 +28,8 @@ make_customize_root_image() {
cp -Rf overlay/* ${work_dir}/root-image/
chroot ${work_dir}/root-image /usr/sbin/useradd -m -p "" -g users -G "audio,disk,optical,wheel,storage" radio
+ chroot ${work_dir}/root-image /usr/sbin/locale-gen
+ chroot ${work_dir}/root-image /usr/sbin/localepurge
: > ${work_dir}/build.${FUNCNAME}
fi
}
diff --git a/archiso/overlay b/archiso/overlay
new file mode 120000
index 0000000..62658f8
--- /dev/null
+++ b/archiso/overlay
@@ -0,0 +1 @@
+../overlay/ \ No newline at end of file
diff --git a/archiso/packages b/archiso/packages
new file mode 100644
index 0000000..0806f6a
--- /dev/null
+++ b/archiso/packages
@@ -0,0 +1,13 @@
+# Lista de paquetes a incluir por defecto
+# Para achicar la ISO
+localepurge
+# automontaje
+autofs
+# sistema
+smartmontools
+lm_sensors
+hddtemp
+iptables
+# radio
+icecast
+mpd
diff --git a/overlay/etc/locale.gen b/overlay/etc/locale.gen
new file mode 100644
index 0000000..eabdef7
--- /dev/null
+++ b/overlay/etc/locale.gen
@@ -0,0 +1 @@
+es_AR.UTF-8 UTF-8
diff --git a/overlay/etc/locale.nopurge b/overlay/etc/locale.nopurge
new file mode 100644
index 0000000..111a4f7
--- /dev/null
+++ b/overlay/etc/locale.nopurge
@@ -0,0 +1,57 @@
+####################################################
+# This is the configuration file for localepurge(8).
+####################################################
+# Comment this to enable localepurge.
+# NO COMMENT IT IF YOU ARE NOT SURE WHAT ARE YOU DOING
+# THIS APP DO NOT ASK FOR CONFIRMATION
+
+#NEEDSCONFIGFIRST
+
+####################################################
+# Uncommenting this string enables removal of localized
+# man pages based on the configuration information for
+# locale files defined below:
+
+MANDELETE
+
+####################################################
+# Uncommenting this string causes localepurge to simply delete
+# locales which have newly appeared on the system without
+# bothering you about it:
+
+DONTBOTHERNEWLOCALE
+
+#####################################################
+# Commenting out this string enables faster but less
+# accurate calculation of freed disk space:
+
+#QUICKNDIRTYCALC
+
+####################################################
+# Uncommenting this string enables display of freed disk
+# space if localepurge has purged any superfluous data:
+
+SHOWFREEDSPACE
+
+#####################################################
+# Commenting out this string disables verbose output:
+
+#VERBOSE
+
+#####################################################
+# You like Colors?
+
+#NOCOLOR
+
+#####################################################
+# You can use the -v -d -nc options in command line.
+
+#####################################################
+# Following locales won't be deleted from this system
+# for example:
+C
+en
+en_US
+en_US.UTF-8
+es
+es_AR.UTF-8 UTF-8
diff --git a/overlay/etc/rc.conf b/overlay/etc/rc.conf
new file mode 100644
index 0000000..341a534
--- /dev/null
+++ b/overlay/etc/rc.conf
@@ -0,0 +1,117 @@
+#
+# /etc/rc.conf - Main Configuration for Parabola GNU/Linux-Libre
+#
+
+# -----------------------------------------------------------------------
+# LOCALIZATION
+# -----------------------------------------------------------------------
+#
+# LOCALE: available languages can be listed with the 'locale -a' command
+# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
+# startup and during the boot process. If set to 'no', the C locale is used.
+# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
+# in the hardware clock being left untouched (useful for virtualization)
+# Note: Using "localtime" is discouraged.
+# TIMEZONE: timezones are found in /usr/share/zoneinfo
+# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
+# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
+# CONSOLEMAP: found in /usr/share/kbd/consoletrans
+# USECOLOR: use ANSI color sequences in startup messages
+#
+LOCALE="es_AR.utf8"
+DAEMON_LOCALE="no"
+HARDWARECLOCK="UTC"
+TIMEZONE="America/Argentina/Buenos_Aires"
+KEYMAP="la-latin1"
+CONSOLEFONT=
+CONSOLEMAP=
+USECOLOR="yes"
+
+# -----------------------------------------------------------------------
+# HARDWARE
+# -----------------------------------------------------------------------
+#
+# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
+# Replace every !module by an entry as on the following line in a file in
+# /etc/modprobe.d:
+# blacklist module
+# See "man modprobe.conf" for details.
+#
+MODULES=(loop)
+
+# Udev settle timeout (default to 30)
+UDEV_TIMEOUT=30
+
+# Scan for FakeRAID (dmraid) Volumes at startup
+USEDMRAID="no"
+
+# Scan for BTRFS volumes at startup
+USEBTRFS="no"
+
+# Scan for LVM volume groups at startup, required if you use LVM
+USELVM="no"
+
+# -----------------------------------------------------------------------
+# NETWORKING
+# -----------------------------------------------------------------------
+#
+# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
+#
+HOSTNAME="radio"
+
+# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
+#
+# Wired network setup
+# - interface: name of device (required)
+# - address: IP address (leave blank for DHCP)
+# - netmask: subnet mask (ignored for DHCP)
+# - broadcast: broadcast address (ignored for DHCP) (optional)
+# - gateway: default route (ignored for DHCP)
+#
+# Static IP example
+# interface=eth0
+# address=192.168.0.2
+# netmask=255.255.255.0
+# broadcast=192.168.0.255
+# gateway=192.168.0.1
+#
+# DHCP example
+# interface=eth0
+# address=
+# netmask=
+# gateway=
+
+interface=eth0
+address=
+netmask=
+broadcast=
+gateway=
+
+# Setting this to "yes" will skip network shutdown.
+# This is required if your root device is on NFS.
+NETWORK_PERSIST="no"
+
+# Enable these netcfg profiles at boot-up. These are useful if you happen to
+# need more advanced network features than the simple network service
+# supports, such as multiple network configurations (ie, laptop users)
+# - set to 'menu' to present a menu during boot-up (dialog package required)
+# - prefix an entry with a ! to disable it
+#
+# Network profiles are found in /etc/network.d
+#
+# This requires the netcfg package
+#
+#NETWORKS=(main)
+
+# -----------------------------------------------------------------------
+# DAEMONS
+# -----------------------------------------------------------------------
+#
+# Daemons to start at boot-up (in this order)
+# - prefix a daemon with a ! to disable it
+# - prefix a daemon with a @ to start it up in the background
+#
+# If something other takes care of your hardware clock (ntpd, dual-boot...)
+# you should disable 'hwclock' here.
+#
+DAEMONS=(!hwclock syslog-ng dbus @smartd @hddtemp @sensors iptables network @openntpd @sshd @alsa mpd !mpdscribble @crond avahi-daemon)