From 5ecb17e988d34d2c51b51aa6ac5cebe163cb7657 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Mon, 16 May 2011 00:13:29 +0000 Subject: [PATCH] =?utf8?q?Enlev=C3=A9=20cr=C3=A9ation=20r=C3=A9pertoires?= =?utf8?q?=20dvd=20et=20cd=20dans=20/media=20et=20entr=C3=A9es=20dans=20fs?= =?utf8?q?tab=20car=20les=20cd=20et=20dvd=20sont=20(ou=20doivent=20=C3=AAt?= =?utf8?q?re)=20pris=20en=20charge=20par=20udev?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- config/sysinfos.default | 3 --- config/sysinfos.hp-mini | 3 --- config/sysinfos.sony-pcgz505 | 3 --- stage1/create-config-files | 8 +------- stage1/create-directories | 2 +- 5 files changed, 2 insertions(+), 17 deletions(-) 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} -- 2.20.1