| OLD | NEW |
| 1 # Copyright 1999-2009 Gentoo Foundation | 1 # Copyright 1999-2009 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.1.ebuild,v
1.1 2009/05/24 19:47:02 vapier Exp $ | 3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.1.ebuild,v
1.1 2009/05/24 19:47:02 vapier Exp $ |
| 4 | 4 |
| 5 inherit useradd | 5 inherit useradd |
| 6 | 6 |
| 7 DESCRIPTION="Filesystem baselayout and init scripts (Modified for Chromium OS)" | 7 DESCRIPTION="Filesystem baselayout and init scripts (Modified for Chromium OS)" |
| 8 HOMEPAGE="http://src.chromium.org/" | 8 HOMEPAGE="http://src.chromium.org/" |
| 9 SRC_URI="mirror://gentoo/${P}.tar.bz2 | 9 SRC_URI="mirror://gentoo/${P}.tar.bz2 |
| 10 http://dev.gentoo.org/~vapier/dist/${P}.tar.bz2" | 10 http://dev.gentoo.org/~vapier/dist/${P}.tar.bz2" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 sed -i "{ s/video::27:\(.*\)/video::27:\1,${system_user}/ }" \ | 118 sed -i "{ s/video::27:\(.*\)/video::27:\1,${system_user}/ }" \ |
| 119 "${ROOT}/etc/group" | 119 "${ROOT}/etc/group" |
| 120 | 120 |
| 121 # The root and ${system_user} users must be in the pkcs11 group, which | 121 # The root and ${system_user} users must be in the pkcs11 group, which |
| 122 # must have the group id 208. | 122 # must have the group id 208. |
| 123 sed -i "{ s/pkcs11:x:.*/pkcs11:x:208:root,${system_user}/ }" \ | 123 sed -i "{ s/pkcs11:x:.*/pkcs11:x:208:root,${system_user}/ }" \ |
| 124 "${ROOT}/etc/group" | 124 "${ROOT}/etc/group" |
| 125 | 125 |
| 126 # Some default directories. These are created here rather than at | 126 # Some default directories. These are created here rather than at |
| 127 # install because some of them may already exist and have mounts. | 127 # install because some of them may already exist and have mounts. |
| 128 » for x in /dev /home /media /mnt/partner_partition \ | 128 » for x in /dev /home /media \ |
| 129 /mnt/stateful_partition /proc /root /sys /var/lock; do | 129 /mnt/stateful_partition /proc /root /sys /var/lock; do |
| 130 [ -d "${ROOT}/$x" ] && continue | 130 [ -d "${ROOT}/$x" ] && continue |
| 131 install -d --mode=0755 --owner=root --group=root "${ROOT}/$x" | 131 install -d --mode=0755 --owner=root --group=root "${ROOT}/$x" |
| 132 done | 132 done |
| 133 } | 133 } |
| OLD | NEW |