mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 21:41:05 +02:00
Merge pull request #683 from marineam/profiles
Setup new image profiles
This commit is contained in:
commit
c64df49948
@ -0,0 +1,7 @@
|
||||
# Copyright (c) 2014 The CoreOS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# full debug info is way to big to fit into our 1GB /usr partitions.
|
||||
INSTALL_MASK="${INSTALL_MASK}
|
||||
/usr/lib/debug
|
||||
"
|
@ -9,29 +9,34 @@ USE="${USE} -fortran -abiword -perl -cups -poppler-data -nls"
|
||||
# Exclude documentation
|
||||
FEATURES="nodoc noinfo noman"
|
||||
|
||||
# Remove sandbox files since we don't use that in the sysroot.
|
||||
# Exclude even more documentaiton
|
||||
# Remove bash-completion files as we don't install bash-completion.
|
||||
# Remove alternate locales, we only need the standard LANG=C
|
||||
INSTALL_MASK="${INSTALL_MASK}
|
||||
/etc/sandbox.d
|
||||
/usr/share/bash-completion
|
||||
/usr/share/gtk-doc
|
||||
/usr/share/i18n
|
||||
/usr/share/locale
|
||||
"
|
||||
|
||||
# Exclude assorted config files that we can do without
|
||||
INSTALL_MASK="${INSTALL_MASK}
|
||||
/etc/sudoers
|
||||
"
|
||||
|
||||
# Restrictive mask for production images.
|
||||
# TODO(marineam): Perhaps later move this to a generic/production profile.
|
||||
PROD_INSTALL_MASK="${INSTALL_MASK}
|
||||
*.a *.la *.h *.hpp
|
||||
/etc/sandbox.d
|
||||
/usr/include
|
||||
/usr/lib/debug
|
||||
/usr/lib*/pkgconfig
|
||||
/usr/share/aclocal*
|
||||
/usr/share/awk
|
||||
/usr/share/doc
|
||||
/usr/share/gdb
|
||||
/usr/share/gettext
|
||||
/usr/share/gobject-introspection-1.0
|
||||
/usr/share/gtk-doc
|
||||
/usr/share/pkgconfig
|
||||
/usr/share/readline
|
||||
/usr/src
|
||||
@ -44,8 +49,3 @@ PROD_INSTALL_MASK="${PROD_INSTALL_MASK}
|
||||
/usr/share/ncat
|
||||
/usr/share/nmap
|
||||
"
|
||||
|
||||
# Exclude assorted config files that we can do without
|
||||
PROD_INSTALL_MASK="${PROD_INSTALL_MASK}
|
||||
/etc/sudoers
|
||||
"
|
||||
|
@ -0,0 +1,6 @@
|
||||
# Copyright (c) 2014 The CoreOS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# default to the full PROD_INSTALL_MASK
|
||||
# TODO: after transitioning that list will just be defined here.
|
||||
INSTALL_MASK="${PROD_INSTALL_MASK}"
|
Loading…
x
Reference in New Issue
Block a user