--- /dev/null
+#!/bin/bash
+
+# This file contains the informations specific to the target system
+# onto which Linux-HV will be installed
+
+# This is the number of make jobs that can be executed
+# simultaneously. Normally, a value of 2 per processor
+# gives good results.
+MAKEJOBS=1
+
+# Installation type: server, ltsp-server or workstation.
+INST_TYPE="workstation"
+
+# New user to create
+REGUSER="hugo"
+
+# Destination path where to install new Linux-HV system. This is usually where
+# you have mounted your new LFS partition, but it can also be any directory.
+# This is relevant only for stage 0 and 1.
+LFS="/mnt/stockage/hvlinux-hp-mini"
+
+# Destination partition where to install new Linux-HV system
+LFS_PARTITION="/dev/sda3"
+
+# Boot partition (if applicable)
+BOOT_PARTITION="/dev/sda1"
+
+# Swap partition (if applicable)
+#SWAP_PARTITION="/dev/sdb2"
+
+# Define this when cross-compiling to the desired target
+# architecture. Default is x86 32-bits architecture (i686).
+# arm926t - ARM 926T little endian
+# x86 (i686)
+# x86_64 (AMD Athlon 64)
+HVL_TARGET="x86"
+
+# Used for setting '-march=xxx' option in CFLAGS and CPPFLAGS
+MARCH_FLAGS="-march=atom -mssse3 -mfpmath=sse -fomit-frame-pointer"
+
+# Keyboard mapping (example: us)
+KEYBOARD="us"
+
+# Sound card support: yes or no
+SOUND_CARD="yes"
+
+# Removable media drives. Comment if your system doesn't have one.
+#CDROM="/dev/sr0"
+
+# Set to yes to have SANE support
+SANE_SUPPORT="yes"
+# If your scanner is located onto a remote computer, define the following
+# variable to the IP address of that remote computer.
+SANE_SERVER=""
+
+# Define this if you want to use a remote CUPS print server
+#CUPS_SERVER="server.hugovil.com"
+
+TIMEZONE="America/Montreal"
+
+# General network settings
+INTERFACES="eth0"
+MACHINE_NAME="gresimuth"
+DOMAIN="mongol.com"
+LAN_NETWORK_MASK="192.168.1.0/24" # Utilise par sane in stage3
+# Define to yes if you have a dynamic address and you use a dynamic dns
+# service.
+USE_DYNAMIC_DNS="no"
+
+# Network interface card eth0 settings (ROUTEUR/INTERNET)
+BOOTPROTO[0]="dhcp"
+IP_ADDRESS[0]=""
+PREFIX_LENGTH[0]=""
+# GATEWAY is not required if using DHCP
+GATEWAY[0]=""
+
+# DNS servers addresses (not required if using DHCP)
+NAMESERVER[0]=""
+
+# Define this if you want the mail addressed to the root user automatically
+# be forwarded to someone else
+MAIL_ADMIN="hugo"
+
+# Define to unix (mbox) or mbx
+MAILBOX_FORMAT=unix
+
+# Alternate port for Sendmail (comment this line to use the standard port 25)
+SENDMAIL_PORT="25"
+
+# Alternate port for Apache (comment this line to use the standard port 80)
+HTTPD_PORT="80"
+APACHE_USER="www"
+
+# Samba support
+USE_SAMBA="no"
hvconfig_pre()
{
- export CFLAGS="-mtune=generic -g -O2"
-
CONFIGURE_OPTS="\
${CONFIGURE_OPTS} \
--disable-profile \
--enable-kernel=$(get_pkg_ver ${KERNEL}) \
--libexecdir=/usr/lib/eglibc"
- case "${HVL_TARGET}" in
- "x86")
- CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) ${CFLAGS}"
- ;;
- esac
-
# When running make install, a script called test-installation.pl performs a
# small sanity test on our newly installed Glibc. However, because our
# toolchain still points to the /tools directory, the sanity test would be
esac
}
-hvconfig_post()
-{
- unset CFLAGS
-}
-
hvbuild()
{
make