Skip to content

Instantly share code, notes, and snippets.

@Heppokoyuki
Last active March 9, 2019 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Heppokoyuki/abb5e0ee2ddd4797654273d88d7f0c85 to your computer and use it in GitHub Desktop.
Save Heppokoyuki/abb5e0ee2ddd4797654273d88d7f0c85 to your computer and use it in GitHub Desktop.
Gentoo Linux Configuration on Thinkpad yoga260
#! /bin/sh
# /etc/acpi/actions/lm_lid.sh
case $(cat /proc/acpi/button/lid/LID/state | cut -d' ' -f7) in
closed) /usr/sbin/s2ram ;;
esac
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
MAKEOPTS="-j3"
USE="sqlite scsi static-libs"
ACCEPT_KEYWORDS="~amd64"
GENTOO_MIRRORS="https://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
VIDEO_CARDS="intel i965"
L10N="ja"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment