LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   By mistake I nuked my make.conf file what should I... (https://www.linuxquestions.org/questions/gentoo-87/by-mistake-i-nuked-my-make-conf-file-what-should-i-844004/)

darkstarbyte 11-13-2010 01:06 AM

By mistake I nuked my make.conf file what should I...
 
I was trying to
Code:

echo CONFIG_PROTECT_MASK=\"/etc/wget /etc/rc.d\" > /etc/make.conf

I was trying to use the >> instead of > now I screwed up my make.conf file.

Is there a way to recover it or can some one help me rewrite this.

Please I am a noob and this is the first install of Gentoo I have ever done.

Just ask I can supply the info to write it I just don't remember what to add.

business_kid 11-13-2010 07:58 AM

If, you haven't written it again, check the directory for a file called make.conf~ :-D
You may have to start over, but then keep a backup, or three.

darkstarbyte 11-14-2010 01:08 AM

make.conf
 
I did find a way to recover my make.conf but it's not complete.

This is what I have so if any one can help me see if I am missing anything.

The way I recovered it was I went through the Gentoo manual and typed up some of that and found some other tutorials and came up with this.
Code:

CFLAGS="-march=native -02 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3 -l2"
USE="X gdu gtk usb -gnome -qt4 -cups -kde -qt3 -bluetooth dvdr esd eds alsa cdr"
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"
XUSE="truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl aiglx"
IMAGEUSE="jpeg gif tiff png svg pdf"
MEDIAUSE="alsa mad vidix asf win32codecs dvd mp4 aac x264 xvid nsplugin mp3 real gstreamer"
GENERAL="samba java bzip2 symlink sqlite spell xml"
SYSTEM="hal fam dbus aoss threads"
NOTUSE="-arts -qt4 -ipv6"
KDEUSE="-kde -qt3"
GNOMEUSE="policykit device-mapper extras gdu gtk cairo glitz gnome firefox"
VIDEO_CARDS="intel"
USE="${NOTUSE} ${SYSTEM} ${GENERAL} ${IMAGEUSE} ${XUSE} ${KDEUSE} ${MEDIAUSE} ${GNOMEUSE}"


darkstarbyte 11-14-2010 01:17 AM

make.conf
 
I am hoping to get rid of gnome and go with lxde, but thats another thread for another topic.

quanta 11-14-2010 11:17 AM

Have a look at make.conf example.

markush 11-14-2010 04:57 PM

Well,
Code:

FEATURES="ccache distcc"
INPUT_DEVICES="keyboard synaptics evdev"
CCACHE_SIZE="3G"

as an example.

Markus

darkstarbyte 11-15-2010 01:12 AM

This is what I know have in my make.conf after recovery and adding some new flags. I have a 64 bit system the "32bit" thing is for wine I think.


Code:

CFLAGS="-march=native -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3 -l2"
USE="32bit X aac aiglx alsa aoss asf bzip2 cairo dbus device-mapper dhcpcd dvd
    ethernet extras fam fat firefox flv gdu gif glitz gstreamer gtk gzip hal
    hddtemp java jpeg mad mp3 mp4 new-login nsplugin opengl pdf png policykit
    real spell sqlite svg symlink threads tiff truetype win32 x264 xcomposite
    xinerama xml xorg xscreensaver xv xvid -abiword -arts -clamav -clamd
    -cups -evo -fax -floppy -gnome -google-gadgets -handbook -hpcups -hpijs
    -injection -ipv6 -kde -kdecards -lm_sensors -ppp -proxy -qt-bundled
    -qt-dbus -qt-faststart -qt-static -qt-webkit -qt3 -qt3support -qt4
    -qthelp -qtscript -samba -wifi -wiimote -wireshark"
VIDEO_CARDS="intel"



All times are GMT -5. The time now is 07:20 PM.