mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-29 02:01:46 +02:00
Damn I hope this doesn't break everything :-) pentoo 2010.0 rc1ish
This commit is contained in:
parent
0e736aa891
commit
b482d49f4e
10 changed files with 190 additions and 10 deletions
|
|
@ -1,3 +1,3 @@
|
|||
EBUILD broadcom-firmware-installer-0.1-r1.ebuild 849 RMD160 44f69c1290bfd00072a92c4a71509318019b0cf3 SHA1 e3643cdaa91d29bf0f4543f17dc8ddf58f2d30f4 SHA256 636244f190c11520d51a6bb31c84eea9ab01c31ed76d990b71a8cb8f8566f92a
|
||||
EBUILD broadcom-firmware-installer-0.1-r2.ebuild 1367 RMD160 6b5b48fd56a20b3b6e34acf7c2884c11af80a083 SHA1 de4345002d6e8280304cddff17a426431511d200 SHA256 33fabae7fb5f29c7d7e7b2af79bb30751c8798171bb13167a62787bec0009292
|
||||
EBUILD broadcom-firmware-installer-0.1-r2.ebuild 1671 RMD160 c299f94add36f5b0a9e220d21c1feaae5be4bb5e SHA1 49a27bc9da93d97a1b2d5a10026b9b2ee7b1ee7f SHA256 100533ecc573c1f8448af0d34be561a4b09bc2e74434888f3a53cb0a33979c03
|
||||
EBUILD broadcom-firmware-installer-0.1.ebuild 843 RMD160 245f5f1b8ba3791cf8510d240f61f8423e00cb5f SHA1 55ffe4d2594990ea26db1c8ea4b8752c117bf385 SHA256 28579b6b2b133eee2fc58ca4f1efcd5f3be0b4d7f511b574f483b8a13daf122a
|
||||
|
|
|
|||
|
|
@ -20,6 +20,13 @@ RDEPEND=""
|
|||
|
||||
#add a check in src_prepare or something to check kernel versions. we don't care, but gentoo will and we like that.
|
||||
|
||||
pkg_setup() {
|
||||
ewarn "User action is installing the broadcom commercial firmware."
|
||||
ewarn "Broadcom prohibits the distribution of firmware in a"
|
||||
ewarn "usable form for Linux users."
|
||||
epause 5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /lib/firmware || die "failed to create /lib/firmware"
|
||||
FIRMWARE_INSTALL_DIR="${D}/lib/firmware"
|
||||
|
|
@ -39,4 +46,7 @@ pkg_postinst(){
|
|||
else
|
||||
einfo "You need to reload your b43* modules manually or set the reload use flag"
|
||||
fi
|
||||
|
||||
ewarn "Firmware has been installed and is NOT permitted to be redistributed. Just don't do it."
|
||||
epause 5
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
AUX b43-commercial-2010.0 305 RMD160 03ed4dcfd834752f9b0cf7e236f198abb2c0ac19 SHA1 f6b7bbe95e6cbd437b4bcce81f244cf68b9959ff SHA256 b9a147fc4a41f4d45e5bd8dd790154293bb3a59fd8e9e560c9db5c5b54857ddc
|
||||
AUX dokeybindings-2010.0 265 RMD160 4e6c969ac3414972fcab9ac70386be7f933e63ff SHA1 6fa70fafe3e3c4955c4ff39fc574b0ca6bd9471f SHA256 ea323401cfaf10a37f04771541390b1c037a255c5583a5030ea6acbce5b5a409
|
||||
AUX flushchanges-2010.0 1424 RMD160 00b36188d577bd7d9cd01e4f04fb392bb78d0018 SHA1 101231419456cc7714e8915a9ad50cce53774591 SHA256 7bec75c6e79f752720d64903fb56983e60b6f47ba518f283e1b0529f4ba08e05
|
||||
AUX makemo-2010.0 1117 RMD160 491f716140c08fd9bd7ee5fedf521743b605ea47 SHA1 371bae739e8a2f2065fa1420f6b5cc2cf5ed1911 SHA256 aa05be5c1d624a04d2608cffbf494d6c0b85fb45df3ac9046e1b684543dddffd
|
||||
AUX motd-2010.0 1604 RMD160 79cf8ae8027a6540f09f728c1b1f9a6fbe456a56 SHA1 0a105f87de6a500bcbc37f1a63fb567ea8366df4 SHA256 16e77a7a38d9a77222814cfdae4abaced9f82f6a0b8688a5d29ee36f5de6beb7
|
||||
AUX pentoo-release-2010.0-rc1 34 RMD160 1233f83cbab29b4206d321023709d4bd8dc7cfc8 SHA1 372789aad604609e0b4be51eb852312f294542bb SHA256 be48dd54c1fb45ef040a28220a52dde3dce687be6e0d161245fc7dd7095df276
|
||||
AUX user-keywords 476 RMD160 f7297498398ef10163194f8e419c9b0d3ed0f9e3 SHA1 6ad6198a5304f4a38eff44af477a34b5cb290175 SHA256 cd8bdd570b4f8f368448b77ea28985b4da3ddaec279c7576291c11596bd6cb30
|
||||
EBUILD pentoo-2009.1-r1.ebuild 949 RMD160 6ea966878d0813832711b62fc33d3ea49c140916 SHA1 6c15310fba73637e3e3f38070cdd150d6807baec SHA256 6a305964a89355ed3ee926a77c9704f67892836d86e5abac1a75f8bd8a6db3b1
|
||||
EBUILD pentoo-2009.1-r2.ebuild 1189 RMD160 0c808303b31d2242195c5e1ae347317db20128fb SHA1 323fb9dae9c87f03eeb41ee95e8a81becf7c0f11 SHA256 a5cfb8f16b98a451fd6dfb05b190f25a0fdd0fd71c56e3c60e9bebfe8586e76e
|
||||
EBUILD pentoo-2009.1.ebuild 742 RMD160 800e8bc740199dc5c1f9daf77e0cb66876e12abf SHA1 1e86c8f888e0308795b0b2c31c9af512688a09ee SHA256 05072a1b4832596fb12454a72d7514329000e69d85a9a4347576b33531b651c7
|
||||
EBUILD pentoo-2010.0.ebuild 1504 RMD160 60bca6197aa7ced7e3fa9569846137e6ea244be7 SHA1 f2ce70c09f3fe499c20b75cf60e7d06fa3801f12 SHA256 9deaf64204372a7c2d81b75c0e9f8aecb2d3316cfd5771a18a106956dd53d650
|
||||
EBUILD pentoo-2010.0.ebuild 2087 RMD160 5dd88f82d6f35a0533dcbb78c556bf45fdde9e59 SHA1 db11d74c57b49ea531f407843932fcffa72644c4 SHA256 12524476823557f4d36f71a4ba1927773000715ffcbb5c0c82648431b1e7faa9
|
||||
|
|
|
|||
6
sys-apps/pentoo/files/b43-commercial-2010.0
Executable file
6
sys-apps/pentoo/files/b43-commercial-2010.0
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
emerge broadcom-firmware-installer
|
||||
echo "You can make a module for your personal use and put it in the modules"
|
||||
echo "folder of your usb/cd for personal use only."
|
||||
echo "To do this run \"makemo broadcom-firmware-installer\"."
|
||||
echo "Do NOT post this module. Redistribution is against the law."
|
||||
6
sys-apps/pentoo/files/dokeybindings-2010.0
Executable file
6
sys-apps/pentoo/files/dokeybindings-2010.0
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
enlightenment_remote -binding-key-add ANY t ALT 0 exec urxvt
|
||||
enlightenment_remote -binding-key-add ANY j ALT 0 exec urxvt
|
||||
enlightenment_remote -binding-key-add ANY l ALT 0 exec "enlightenment_remote -lock-desktop"
|
||||
rm ~/.e/e/applications/startup/.order
|
||||
|
||||
72
sys-apps/pentoo/files/flushchanges-2010.0
Executable file
72
sys-apps/pentoo/files/flushchanges-2010.0
Executable file
|
|
@ -0,0 +1,72 @@
|
|||
#!/bin/sh
|
||||
# This script allows flushing of the permanent storage to a .lzm file,
|
||||
# allowing for some more space
|
||||
|
||||
DST="/mnt/cdrom/modules"
|
||||
CHANGESDIR="/.unions/memory/aufs_changes/default/"
|
||||
|
||||
[ -e /lib/rc/sh/functions.sh ] && . /lib/rc/sh/functions.sh
|
||||
|
||||
usage ()
|
||||
{
|
||||
echo
|
||||
echo " Usage : flushchanges [dest]"
|
||||
echo " Where [dest] is the modules storage directory"
|
||||
echo " defaulting to /mnt/cdrom/modules"
|
||||
echo
|
||||
}
|
||||
|
||||
squash ()
|
||||
{
|
||||
if [ ! -e $CHANGESDIR ]
|
||||
then
|
||||
eerror "It appears that you're not using unionfs"
|
||||
return 1
|
||||
else
|
||||
mksquashfs $CHANGESDIR $1 -b 1048576
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
if [ ! -z $1 ]
|
||||
then
|
||||
DST=$1
|
||||
fi
|
||||
|
||||
echo "Using $DST for module storage"
|
||||
|
||||
if [ ! -e /mnt/cdrom/modules ]
|
||||
then
|
||||
ewarn "Unable to find module dir in /mnt/cdrom/"
|
||||
usage
|
||||
else
|
||||
index=0
|
||||
while [ 1 ]
|
||||
do
|
||||
index=$(($index + 1))
|
||||
# echo $index
|
||||
if [ ! -f "${DST}/z_changes-${index}" ]
|
||||
then
|
||||
squash ${DST}/z_changes-${index}.lzm
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
einfo "$DST/z_changes-$index.lzm created successfully"
|
||||
break
|
||||
else
|
||||
ewarn "Unable to create $DST/z_changes-$index.lzm"
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
if [ -f "${DST}/z_changes-${index}.lzm" ]
|
||||
then
|
||||
ewarn "The changesfile will be cleared a next reboot"
|
||||
if [ -e /usr/sbin/doclean.sh ]
|
||||
then
|
||||
cp -a /usr/sbin/doclean.sh /.unions/memory/.doclean.sh
|
||||
else
|
||||
eerror "Unable to find /usr/sbin/doclean.sh"
|
||||
eerror "Your changesfile will not be cleared at reboot"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
43
sys-apps/pentoo/files/makemo-2010.0
Executable file
43
sys-apps/pentoo/files/makemo-2010.0
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
#!/bin/sh
|
||||
|
||||
source /lib/rc/sh/functions.sh
|
||||
mkdir -p /modules/
|
||||
|
||||
TMPDIR="/tmp/rootfs-$$"
|
||||
|
||||
# PKG=$1
|
||||
|
||||
DEPS=`emerge -pv $1`
|
||||
PKG=`echo ${DEPS} | grep -e ".*/.*" | sed -e 's/.*] //g' -e 's/ .*//g'`
|
||||
|
||||
[[ -z $1 ]] && eerror "Nothing to emerge!" && exit 1
|
||||
|
||||
einfo "Here are the dependencies :"
|
||||
echo "${DEPS}"
|
||||
|
||||
read -p "Proceed with the merging? [y]/n " ASK
|
||||
|
||||
if [ "${ASK}" == "n" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
einfo "Preparing to merge all required packages"
|
||||
for x in $PKG
|
||||
do
|
||||
emerge -1b ="${x}"
|
||||
mkdir -p "${TMPDIR}"
|
||||
[[ ! -e /usr/portage/packages/"${x}".tbz2 ]] && eerror "Build failed" && exit 1
|
||||
tar -jxf /usr/portage/packages/"${x}".tbz2 -C "${TMPDIR}"
|
||||
mkdir -p "${TMPDIR}"/var/db/pkg/"${x}"
|
||||
cp -a /var/db/pkg/"${x}"/* "${TMPDIR}"/var/db/pkg/"${x}"/
|
||||
MOFILE=`echo $x | sed -e 's/.*\///g'`
|
||||
einfo "Building module for $MOFILE"
|
||||
mksquashfs "${TMPDIR}" /modules/"${MOFILE}".lzm -b 1048576 -comp lzma
|
||||
einfo "Module now available in /modules/$MOFILE.lzm"
|
||||
rm -rf "${TMPDIR}"
|
||||
done
|
||||
|
||||
einfo "Finished creating modules."
|
||||
einfo "You can now copy your modules from /modules/*.lzm to"
|
||||
einfo "your usb stick or whatever your modules support is."
|
||||
|
||||
24
sys-apps/pentoo/files/motd-2010.0
Normal file
24
sys-apps/pentoo/files/motd-2010.0
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[1;31;31m .
|
||||
[1;31;31m d$b
|
||||
[1;31;40m .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
|
||||
[1;31;31m .$$$$$$$$$$ d$$$'`$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
|
||||
[1;31;31m $$$$( )$$$d$$$$bd$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
|
||||
[1;31;31m .$$$$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
|
||||
[1;31;31m d$$$$$$$$$P' "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
|
||||
[1;31;31m .$$$$P' `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
|
||||
[1;31;31m d$Q$$' """
|
||||
[1;31;31m "Q$$P
|
||||
[1;37;40m
|
||||
|
||||
Welcome to Pentoo on Gentoo linux...
|
||||
[1;31;30m
|
||||
**************************************************************************
|
||||
* *
|
||||
* [1;31;37m All network interfaces are now down at boot. [1;31;30m*
|
||||
* [1;31;37m You can type dhcpcd ethX to setup your network interface. [1;31;30m*
|
||||
* [1;31;37m If you have a broadcom wifi card it is currently using b43-openfwwf. [1;31;30m*
|
||||
* [1;31;37m If this is undesirable or non-functional type "./b43-commercial" [1;31;30m*
|
||||
* *
|
||||
* [1;31;37m Type startx to launch the Enlightenment windows manager [1;31;30m*
|
||||
* *
|
||||
**************************************************************************
|
||||
1
sys-apps/pentoo/files/pentoo-release-2010.0-rc1
Normal file
1
sys-apps/pentoo/files/pentoo-release-2010.0-rc1
Normal file
|
|
@ -0,0 +1 @@
|
|||
Pentoo 2010.0 release candidate 1
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
inherit subversion
|
||||
|
|
@ -10,29 +10,41 @@ HOMEPAGE="http://www.pentoo.ch"
|
|||
ESVN_REPO_URI="https://www.pentoo.ch/svn/livecd/trunk/portage/"
|
||||
SLOT="0"
|
||||
LICENSE="GPL"
|
||||
IUSE="livecd dwm enlightenment kde"
|
||||
IUSE="dwm enlightenment kde livecd"
|
||||
|
||||
RDEPEND="sys-apps/openrc[pentoo]
|
||||
dwm? ( x11-wm/dwm )
|
||||
enlightenment? ( x11-wm/enlightenment )
|
||||
kde? ( kde-base/kde-meta )"
|
||||
DEPEND="${RDEPEND}"
|
||||
DEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
#We clean up old mistakes here, don't add as a blocker
|
||||
grep -v 'x11-base/x11-xorg' /var/lib/portage/world > /var/lib/portage/world.cleansed
|
||||
mv /var/lib/portage/world.cleansed /var/lib/portage/world
|
||||
mv /var/lib/portage/world.cleansed /var/lib/portage/world || die "Fixing world failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if ! use livecd; then
|
||||
dodir /etc/
|
||||
dodir /etc/portage/
|
||||
cp -R "${S}/" "${D}/etc/portage/" || die "Install failed!"
|
||||
insinto /etc/portage/
|
||||
doins -r "${S}"/* || die "/etc/portage failed!"
|
||||
fi
|
||||
|
||||
##here is where we merge in things from root_overlay which make sense
|
||||
exeinto /root
|
||||
newexe "${FILESDIR}"/b43-commercial-${PV} b43-commercial || die "b43-commercial failed"
|
||||
insinto /root
|
||||
newins "${FILESDIR}"/motd-${PV} motd || die "motd failed"
|
||||
#/usr/bin
|
||||
newbin "${FILESDIR}"/dokeybindings-${PV} dokeybindings || die "dokeybindings failed"
|
||||
#/usr/sbin
|
||||
newsbin "${FILESDIR}"/flushchanges-${PV} flushchanges || die "flushchanges failed"
|
||||
newsbin "${FILESDIR}"/makemo-${PV} makemo || "makemo failed"
|
||||
insinto /etc
|
||||
newins "${FILESDIR}"/pentoo-release-2010.0-rc1 pentoo-release
|
||||
}
|
||||
|
||||
pkg_postinstall() {
|
||||
pkg_postinst() {
|
||||
if [ ! -e "${ROOT}"/etc/portage/package.keywords/user-keywords ]; then
|
||||
cp "${FILESDIR}"/user-keywords "${ROOT}"/etc/portage/package.keywords/user-keywords || die "Copy failed, blame Zero"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue