From: gobo72 Date: Mon, 16 May 2011 00:13:29 +0000 (+0000) Subject: Enlevé création répertoires dvd et cd dans /media et entrées dans fstab car les cd... X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=5ecb17e988d34d2c51b51aa6ac5cebe163cb7657;p=hvlinux.git Enlevé création répertoires dvd et cd dans /media et entrées dans fstab car les cd et dvd sont (ou doivent être) pris en charge par udev --- diff --git a/config/sysinfos.default b/config/sysinfos.default index 1669101..ed94581 100644 --- a/config/sysinfos.default +++ b/config/sysinfos.default @@ -38,9 +38,6 @@ MAIL_ADMIN="" # X.org driver (comment to build all drivers) #XORG_VIDEO_DRIVER="intel" -# Removable media drives. Comment if your system doesn't have one (default yes) -DVDROM="yes" - # Sound card support: yes or no SOUND_CARD="yes" diff --git a/config/sysinfos.hp-mini b/config/sysinfos.hp-mini index 45613d8..ea1faf1 100644 --- a/config/sysinfos.hp-mini +++ b/config/sysinfos.hp-mini @@ -23,9 +23,6 @@ MAIL_ADMIN="hugo" XORG_VIDEO_DRIVER="intel" -# Removable media drives. Comment if your system doesn't have one. -DVDROM="no" - WIFI_SUPPORT="yes" B43_LPPHY="yes" diff --git a/config/sysinfos.sony-pcgz505 b/config/sysinfos.sony-pcgz505 index 79dbd10..36b2f52 100644 --- a/config/sysinfos.sony-pcgz505 +++ b/config/sysinfos.sony-pcgz505 @@ -23,9 +23,6 @@ MAIL_ADMIN="hugo" XORG_VIDEO_DRIVER="neomagic" -# Removable media drives. Comment if your system doesn't have one. -DVDROM="no" - WIFI_SUPPORT="yes" B43_LPPHY="yes" diff --git a/stage1/create-config-files b/stage1/create-config-files index 781bb94..633376e 100755 --- a/stage1/create-config-files +++ b/stage1/create-config-files @@ -16,12 +16,6 @@ if [ -n "${SWAP_PARTITION}" ]; then fi echo "${LFS_PARTITION} / auto defaults,noatime 0 0" >> ${LFS}/etc/fstab -if [ "x${DVDROM}" = "xyes" ]; then - cat >> ${LFS}/etc/fstab << "EOF" -/dev/dvd /media/dvd auto ro,noauto,users 0 0 -EOF -fi - cat >> ${LFS}/etc/fstab << "EOF" proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 @@ -78,7 +72,7 @@ LANG="en_US.UTF-8" # followed by names beginning with lower-case letters. But if # LC_COLLATE equals en_US.ISO8859-1, then leading dots as well # as case are ignored in determining the sort order. -LC_COLLATE=C +'LC_COLLATE=C ################# LC_ALL=POSIX export PATH MANPATH LANG LC_COLLATE PS1 PS2 USER LOGNAME MAIL HISTFILESIZE HISTSIZE HOSTNAME EDITOR CFLAGS CXXFLAGS diff --git a/stage1/create-directories b/stage1/create-directories index 9975857..af761ca 100755 --- a/stage1/create-directories +++ b/stage1/create-directories @@ -3,7 +3,7 @@ source ../functions/main mkdir -pv ${LFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt} -mkdir -pv ${LFS}/{proc,media/{cdrom,dvd},sbin,srv,sys} +mkdir -pv ${LFS}/{proc,media,sbin,srv,sys} mkdir -pv ${LFS}/var/{lock,log,mail,run,spool} mkdir -pv ${LFS}/var/{opt,cache,lib/{misc,locate},local}