fix(package.mask): remove mask on syslinux

lets use the upstream syslinux as it should work.
This commit is contained in:
Brandon Philips 2013-02-15 13:27:39 -08:00
parent 2f35cda962
commit e60e4edbcf
5 changed files with 18 additions and 31 deletions

View File

@ -1,7 +1,7 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
inherit useradd pam inherit useradd
DESCRIPTION="ChromeOS specific system setup" DESCRIPTION="ChromeOS specific system setup"
HOMEPAGE="http://src.chromium.org/" HOMEPAGE="http://src.chromium.org/"
@ -10,13 +10,13 @@ SRC_URI=""
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="amd64 arm x86" KEYWORDS="amd64 arm x86"
IUSE="cros_host pam" IUSE="cros_host"
# We need to make sure timezone-data is merged before us. # We need to make sure timezone-data is merged before us.
# See pkg_setup below as well as http://crosbug.com/27413 # See pkg_setup below as well as http://crosbug.com/27413
# and friends. # and friends.
# TODO: !app-misc/editor-wrapper # TODO: !app-misc/editor-wrapper
DEPEND="=sys-apps/baselayout-2.0.1-r228 DEPEND="sys-apps/baselayout
!<sys-libs/timezone-data-2011d !<sys-libs/timezone-data-2011d
!<=app-admin/sudo-1.8.2 !<=app-admin/sudo-1.8.2
!<sys-apps/mawk-1.3.4 !<sys-apps/mawk-1.3.4
@ -129,17 +129,6 @@ src_install() {
insinto /etc/profile.d insinto /etc/profile.d
doins "${FILESDIR}"/cursor.sh doins "${FILESDIR}"/cursor.sh
fi fi
# Add our little bit of sudo glue.
newpamd "${FILESDIR}"/include-coreos-auth sudo
# This one line comes from the sudo ebuild.
pamd_mimic system-auth sudo auth account session
if [[ -n ${SHARED_USER_NAME} ]] ; then
insinto /etc/sudoers.d
echo "${SHARED_USER_NAME} ALL=(ALL) ALL" > 95_cros_base
insopts -m 440
doins 95_cros_base || die
fi
} }
pkg_postinst() { pkg_postinst() {

View File

@ -44,14 +44,14 @@ src_unpack() {
pkgs=( pkgs=(
# Generate a list of packages that go into the base image. These # Generate a list of packages that go into the base image. These
# packages will be assumed to be installed by emerge in the target. # packages will be assumed to be installed by emerge in the target.
chromeos coreos
# Get the list of the packages needed to bootstrap emerge. # Get the list of the packages needed to bootstrap emerge.
portage portage
# Get the list of dev and test packages. # Get the list of dev and test packages.
coreos-dev coreos-dev
#coreos-test coreos-test
) )
einfo "Ignore warnings below related to LD_PRELOAD/libsandbox.so" einfo "Ignore warnings below related to LD_PRELOAD/libsandbox.so"
for pkg in ${pkgs[@]} ; do for pkg in ${pkgs[@]} ; do
@ -63,7 +63,7 @@ src_unpack() {
done done
wait wait
# No virtual packages in package.provided. # No virtual packages in package.provided.
grep -v "virtual/" chromeos.packages > package.provided grep -v "virtual/" coreos.packages > package.provided
python "${FILESDIR}"/filter.py || die python "${FILESDIR}"/filter.py || die

View File

@ -42,14 +42,14 @@ src_unpack() {
pkgs=( pkgs=(
# Generate a list of packages that go into the base image. These # Generate a list of packages that go into the base image. These
# packages will be assumed to be installed by emerge in the target. # packages will be assumed to be installed by emerge in the target.
chromeos coreos
# Get the list of the packages needed to bootstrap emerge. # Get the list of the packages needed to bootstrap emerge.
portage portage
# Get the list of dev and test packages. # Get the list of dev and test packages.
chromeos-dev coreos-dev
chromeos-test coreos-test
) )
einfo "Ignore warnings below related to LD_PRELOAD/libsandbox.so" einfo "Ignore warnings below related to LD_PRELOAD/libsandbox.so"
for pkg in ${pkgs[@]} ; do for pkg in ${pkgs[@]} ; do
@ -61,7 +61,7 @@ src_unpack() {
done done
wait wait
# No virtual packages in package.provided. # No virtual packages in package.provided.
grep -v "virtual/" chromeos.packages > package.provided grep -v "virtual/" coreos.packages > package.provided
python "${FILESDIR}"/filter.py || die python "${FILESDIR}"/filter.py || die
@ -71,8 +71,8 @@ src_unpack() {
# Add dhcp to the list of packages installed since its installation will not # Add dhcp to the list of packages installed since its installation will not
# complete (can not add dhcp group since /etc is not writeable). Bootstrap it # complete (can not add dhcp group since /etc is not writeable). Bootstrap it
# instead. # instead.
grep "net-misc/dhcp-" chromeos-dev.packages >> package.provided grep "net-misc/dhcp-" coreos-dev.packages >> package.provided
grep "net-misc/dhcp-" chromeos-dev.packages >> bootstrap.packages grep "net-misc/dhcp-" coreos-dev.packages >> bootstrap.packages
} }
src_install() { src_install() {

View File

@ -3,8 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
# Filter out all the packages that are already in chromeos. # Filter out all the packages that are already in coreos.
cros_pkgs = set(open('chromeos.packages', 'r').readlines()) cros_pkgs = set(open('coreos.packages', 'r').readlines())
port_pkgs = set(open('portage.packages', 'r').readlines()) port_pkgs = set(open('portage.packages', 'r').readlines())
boot_pkgs = port_pkgs - cros_pkgs boot_pkgs = port_pkgs - cros_pkgs
@ -20,9 +20,10 @@ f.write(''.join(prov_pkgs))
f.close() f.close()
# Make a list of the packages that can be installed. Those packages # Make a list of the packages that can be installed. Those packages
# are in chromeos-dev or chromeos-test and not chromeos. # are in coreos-dev or coreos-test and not coreos.
dev_pkgs = set(open('chromeos-dev.packages', 'r').readlines()) dev_pkgs = set(open('coreos-dev.packages', 'r').readlines())
test_pkgs = set(open('chromeos-test.packages', 'r').readlines()) #test_pkgs = set(open('coreos-test.packages', 'r').readlines())
test_pkgs = set()
inst_pkgs = (dev_pkgs | test_pkgs) - cros_pkgs inst_pkgs = (dev_pkgs | test_pkgs) - cros_pkgs
f = open('package.installable', 'w') f = open('package.installable', 'w')
f.write(''.join(inst_pkgs)) f.write(''.join(inst_pkgs))

View File

@ -7,8 +7,5 @@
# version of these packages even if a newer stable version becomes # version of these packages even if a newer stable version becomes
# available in portage: # available in portage:
# Custom patches
>=sys-boot/syslinux-3.84
# libpng security vulnerability fix # libpng security vulnerability fix
<media-libs/libpng-1.2.44 <media-libs/libpng-1.2.44