W. Trevor King [Fri, 1 Feb 2013 02:17:50 +0000 (21:17 -0500)]
examples: Add newlines to accidentally unwrapped comment lines
With:
$ sed -i 's/^\(#.*\)\(#.*\)/\1\n\2/' examples/*.spec
Rick Farina (Zero_Chaos) [Thu, 31 Jan 2013 03:57:36 +0000 (22:57 -0500)]
don't build packages during update_seed
when update_seed is run it uses the default catalyst emerge options
which causes binary packages to be built which are linked against the
seed stage rather than the generated stage. These binary packages
can be later used and cause significant and odd issues due to being
linked to older libraries. I am passing "--buildpkg=n" for the
update_seed runs to prevent this issue and close bug #454184
Rick Farina (Zero_Chaos) [Fri, 25 Jan 2013 03:46:05 +0000 (22:46 -0500)]
make bindist optional
After the recent fixes which ensure the bindist use flag
is always set, users now have no way to disable this flag.
This patch introduces the new "bindist" feature, enabled by
default, which will allow users to turn off bindist if
they are not going to redistribute the builds (or for
tinderbox testing, etc).
Matt Turner [Fri, 25 Jan 2013 02:48:27 +0000 (18:48 -0800)]
Use update_seed_command, as documented
Not update_command. Bug in
4dc9de30.
Matt Turner [Sat, 8 Dec 2012 06:14:02 +0000 (22:14 -0800)]
Use 'in' instead of deprecated has_key()
Since Python 2.2 'in' has been preferred to has_key() since it is
shorter, more readable, and faster. has_key() has been deprecated since
2.6 and was removed in 3.0.
See:
http://www.python.org/dev/peps/pep-0290/#testing-dictionary-membership
Mostly scripted with
sed -i -e 's/if \(not \)\?\(.*\)\.has_key(\(.*\))/if \3 \1in \2/'
Rick Farina (Zero_Chaos) [Tue, 8 Jan 2013 21:41:07 +0000 (16:41 -0500)]
bug fix wrt 443024, recent changes to use lbzip2 were too agressive
and we should only be using lbzip2 OUTSIDE the chroot, inside the
chroot we don't have lbzip2 available at this time.
Matt Turner [Sun, 30 Dec 2012 02:53:28 +0000 (18:53 -0800)]
ppc: Remove -fno-strict-aliasing from CFLAGS
Added temporarily in 2004 (commit
b010c1bd) for gcc-3.3.3/nptl. Time to
go.
Fixes https://bugs.gentoo.org/show_bug.cgi?id=449240
Rick Farina (Zero_Chaos) [Fri, 7 Dec 2012 06:30:45 +0000 (22:30 -0800)]
Do not "highly recommend" ccache
ccache has a history of causing strange problems, and Gentoo recommends
disabling it before reporting bugs. As such, we shouldn't highly
recommend it. See http://en.gentoo-wiki.com/wiki/Ccache#Caveats
Suggested-and-Acked-by: Rick "Zero_Chaos" Farina <zerochaos@gentoo.org>
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 7 Dec 2012 01:49:30 +0000 (01:49 +0000)]
Fix broken syntax in previous commit.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Thu, 6 Dec 2012 23:27:03 +0000 (23:27 +0000)]
Rework update_seed support.
Split it between update_seed (do we want to update the seed or not) and update_seed_command (custom command to run when updating).
The later is left for advanced uses / users. If not present, catalyst will update gcc deps.
Rick Farina (Zero_Chaos) [Tue, 4 Dec 2012 20:45:25 +0000 (15:45 -0500)]
catalyst 2.0.12.2
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Thu, 22 Nov 2012 02:48:01 +0000 (01:48 -0100)]
Make sure we always append bindist use flag to all targets.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 21 Nov 2012 01:08:28 +0000 (00:08 -0100)]
Clean-up the dirs we remove on stage1 target (stop cleaning old non-existant python dirs).
Matt Turner [Sun, 11 Nov 2012 00:15:20 +0000 (16:15 -0800)]
Document the update_seed option
Matt Turner [Sat, 10 Nov 2012 23:38:03 +0000 (15:38 -0800)]
Use update_seed's argument as an argument list to emerge
Previously, update_seed caused the seed stage to be updated with
--update --deep --newuse @world. This proved to be unnecessary in the
majority of cases.
Simply give run_merge the previously unused argument of update_seed as
an argument list. This allows updating select packages in a seed stage.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 2 Nov 2012 01:48:08 +0000 (00:48 -0100)]
We need to specify the chroot_path to the chmod call.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 2 Nov 2012 01:17:48 +0000 (00:17 -0100)]
Make sure the files we try to execute in the chroot are marked as executable.
Rick Farina (Zero_Chaos) [Fri, 2 Nov 2012 00:58:15 +0000 (20:58 -0400)]
re-apply "Revert "Use relative path.""
Rick Farina (Zero_Chaos) [Fri, 2 Nov 2012 00:57:44 +0000 (20:57 -0400)]
re-apply "Make sure we have ${destdir} on copy_to_chroot and simplify exec_in_chroot.""
Rick Farina (Zero_Chaos) [Fri, 2 Nov 2012 00:56:56 +0000 (20:56 -0400)]
RE-Apply Mike's suggested patch to fix the setting of +x on copy_to_chroot - bug 434252.
Rick Farina (Zero_Chaos) [Fri, 2 Nov 2012 00:28:18 +0000 (20:28 -0400)]
more forcing of python2 for make dist
Rick Farina (Zero_Chaos) [Fri, 2 Nov 2012 00:05:51 +0000 (20:05 -0400)]
catalyst 2.0.12.1
fix issue introduced by commit
c57b514c2295df27eafe57dfb1452b486e9c547b by reverting
original as well as
17b34223a4afc1f070ac2fb9bdfb51e47c03db61 and
7be5b3b53cd0f89f954845ea9fd885a73cc0aedc
fix issue where extra "tmpfs" folder was created in cwd for no reason
Rick Farina (Zero_Chaos) [Fri, 2 Nov 2012 00:00:09 +0000 (20:00 -0400)]
Revert "Apply Mike's suggested patch to fix the setting of +x on copy_to_chroot - bug 434252."
This reverts commit
c57b514c2295df27eafe57dfb1452b486e9c547b.
Rick Farina (Zero_Chaos) [Thu, 1 Nov 2012 23:59:50 +0000 (19:59 -0400)]
Revert "Make sure we have ${destdir} on copy_to_chroot and simplify exec_in_chroot."
This reverts commit
17b34223a4afc1f070ac2fb9bdfb51e47c03db61.
Rick Farina (Zero_Chaos) [Thu, 1 Nov 2012 23:59:36 +0000 (19:59 -0400)]
Revert "Use relative path."
This reverts commit
7be5b3b53cd0f89f954845ea9fd885a73cc0aedc.
Rick Farina (Zero_Chaos) [Thu, 1 Nov 2012 20:05:37 +0000 (16:05 -0400)]
prevent creating pointless "tmpfs" dir
It seems we are automatically creating the src dir we are trying to mount,
although that whole idea is a little wierd, for now I'll just prevent it
from doing that when mounting a tmpfs.
Rick Farina (Zero_Chaos) [Wed, 31 Oct 2012 22:12:52 +0000 (18:12 -0400)]
fix make dist for python2
Rick Farina (Zero_Chaos) [Wed, 31 Oct 2012 21:56:10 +0000 (17:56 -0400)]
catalyst 2.0.12
Rick Farina (Zero_Chaos) [Wed, 31 Oct 2012 18:15:01 +0000 (14:15 -0400)]
add more lbzip2 support
Matt Turner on commit
166a23995f9ca2356cfb2722df37f13c54bffcfd added in
support for lbzip2 use in compression. This extends his patch as much as
possible for decompression as well.
Anthony G. Basile [Mon, 29 Oct 2012 20:30:51 +0000 (16:30 -0400)]
Do not break autopoint by cleaning out /usr/share/gettext in stage1
The problem comes in stage3 when you have packages that inherit autotools.eclass.
The eclass may make use of gettext and run autopoint which will fail if it doesn't
find /usr/share/gettext/archive.dir.tar.gz.
X-Gentoo-Bug: 439636
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439636
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Rick Farina (Zero_Chaos) [Mon, 29 Oct 2012 19:40:45 +0000 (15:40 -0400)]
keep logs outside of chroot
Every time stage build is restarted, the build logs of the previous run
are lost. This new feature allows the logs to be kept outside the chroot
and thus protected from purging. This new feature forces portage to use
FEATURES="clean-logs" no matter what, but it should have no effect on
users not using the new functionality added by this patch.
This new function is DISABLED per default due to a lack of feedback,
however, it is highly suggested that this is made default for the next
release cycle.
Rick Farina (Zero_Chaos) [Thu, 25 Oct 2012 03:20:36 +0000 (23:20 -0400)]
initial support for /var/tmp/portage in tmpfs
recently a bug in ZFS completely preventing building on my host system,
due to this fact I hacked in this support to get around the issue.
Since building in tmpfs can speed things significantly I've added the
support properly and optionally. Hopefully others like this as much as
I do.
My motivation: https://bugs.gentoo.org/show_bug.cgi?id=411555
Thanks to jmbsvicetto and dol-sen for helping me read catalyst.
Rick Farina (Zero_Chaos) [Tue, 23 Oct 2012 17:19:51 +0000 (13:19 -0400)]
fix order of stage1 portage updates
Reorder things based on proper understanding of stage1 builds.
This allows a slight reduction in redundancy.
Rick Farina (Zero_Chaos) [Mon, 22 Oct 2012 01:19:59 +0000 (21:19 -0400)]
setup portage before updating seed_cache
When updating of seed_cache support was added it was added before portage
was setup/updated. We always was portage first.
Rick Farina (Zero_Chaos) [Sat, 20 Oct 2012 03:27:03 +0000 (23:27 -0400)]
prevent cleaning .a files
The releng specs already remove all the static libs from the system
We do not need to do it with catalyst as this breaks all other livecds
Matt Turner [Fri, 28 Sep 2012 01:41:48 +0000 (18:41 -0700)]
Use lbzip2 for tar.bz2
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sat, 13 Oct 2012 02:44:00 +0000 (02:44 +0000)]
Fix the breakage of /lib on amd64 caused by tar replacing the symlink with a dir.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 7 Oct 2012 04:02:53 +0000 (04:02 +0000)]
The emerge option is newuse and not new.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 2 Oct 2012 03:57:42 +0000 (03:57 +0000)]
Stop passing ${clst_root_path} and /tmp/stage1root to exec_in_chroot.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Mon, 1 Oct 2012 11:09:39 +0000 (11:09 +0000)]
Use relative path.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 30 Sep 2012 22:27:29 +0000 (22:27 +0000)]
Make sure we have ${destdir} on copy_to_chroot and simplify exec_in_chroot.
Mike Frysinger [Sun, 30 Sep 2012 22:22:22 +0000 (22:22 +0000)]
Apply Mike's suggested patch to fix the setting of +x on copy_to_chroot - bug 434252.
Matt Turner [Fri, 28 Sep 2012 01:29:51 +0000 (18:29 -0700)]
mips.py: Add loongson3a classes
Matt Turner [Wed, 26 Sep 2012 00:14:43 +0000 (17:14 -0700)]
Don't emerge ccache/distcc/icecream with --nodeps
ccache-3.1.8 changed to using tar.xz sources, which exposed a problem in
catalyst where an old stage without xz would fail to seed a new stage
using ccache.
ccache's dependencies are zlib (and xz for >=ccache-3.1.8). distcc's are
already part of stages: dev-libs/popt, virtual/pkgconfig, and
sys-devel/gcc-config. icecream has no dependencies (???).
Emerging with --nodeps only has the potential to cause problems.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 23 Sep 2012 04:55:30 +0000 (04:55 +0000)]
Whitespace.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 23 Sep 2012 03:07:56 +0000 (03:07 +0000)]
Whitespace.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 23 Sep 2012 03:03:35 +0000 (03:03 +0000)]
Whitespace.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sat, 22 Sep 2012 03:28:34 +0000 (03:28 +0000)]
Whitespace.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sat, 22 Sep 2012 02:54:01 +0000 (02:54 +0000)]
Replace "." with "source".
Mike Frysinger [Sat, 8 Sep 2012 00:03:15 +0000 (20:03 -0400)]
add x32 abi
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 5 Sep 2012 01:47:24 +0000 (01:47 +0000)]
Update version to prepare the 2.0.11 release.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Mon, 3 Sep 2012 03:08:30 +0000 (03:08 +0000)]
Fix optional update of seed_stage.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 31 Aug 2012 01:56:45 +0000 (01:56 +0000)]
We need to quote UPDATE_SEED_STAGE or the test will always return sucess.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 31 Aug 2012 00:33:37 +0000 (00:33 +0000)]
We want update_seed to be optional.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 29 Aug 2012 04:16:57 +0000 (04:16 +0000)]
Fix whitespace \t != ' '
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 29 Aug 2012 03:57:28 +0000 (03:57 +0000)]
Add armv6j_hardfp
Signed-off-by: Raúl Porcel (armin76) <armin76@gentoo.org>
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 29 Aug 2012 03:49:40 +0000 (03:49 +0000)]
Signed-off-by: Daniel Solano Gómez <gentoo@sattvik.com>
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Fixes 'HOSTUSER' typo for Pentium M
Adds CHOST for Prescott
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 29 Aug 2012 03:17:37 +0000 (03:17 +0000)]
Let's see if we can update the seed stage and fix bug 397505.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 29 Aug 2012 02:46:40 +0000 (02:46 +0000)]
Add initial support to update the seed stage on stage1 - bug 397505.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 26 Aug 2012 19:30:09 +0000 (19:30 +0000)]
This patch adds in support for automatically detecting and decompressing
both formats gentoo currently ships portage snapshots in. To make the
change as minimal as possible I am using recent gnu/bsd tar ability to
automatically pick the correct format and decompress. This should work
on all gentoo supported platforms including linux, freebsd, and
prefix-macosx.
Signed-off-by: Rick Farina <sidhayn@gmail.com>
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 21 Aug 2012 02:57:41 +0000 (02:57 +0000)]
We need to set the profile before trying to determine what packages to build.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 21 Aug 2012 02:57:06 +0000 (02:57 +0000)]
Set the profile by calling eselect.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 21 Aug 2012 02:47:10 +0000 (02:47 +0000)]
Create /etc/portage on stage1-controller.
Also update the copy of make.conf to use /etc/portage instead of /etc. Stop copying make.profile as it's set by eselect inside the chroot.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 21 Aug 2012 02:45:34 +0000 (02:45 +0000)]
Stop dropping /etc/portage and instead drop only its contents.
This prevents breakage on later stages as stage1 is the only one that creates /etc/portage.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 21 Aug 2012 02:44:33 +0000 (02:44 +0000)]
Drop config_profile_link from the action_sequence for the generic stage.
Instead of creating the profile from python, we're going to use eselect to pick the profile inside the chroot.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 21 Aug 2012 02:43:00 +0000 (02:43 +0000)]
Stop dropping /etc/portage on stage2. Also drop the custom cleanables from stage2.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Tue, 21 Aug 2012 01:03:58 +0000 (01:03 +0000)]
Whitespace.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 17 Aug 2012 10:51:11 +0000 (10:51 +0000)]
Update maintainer and copyright dates
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 17 Aug 2012 10:50:27 +0000 (10:50 +0000)]
Update copyright date on ChangeLog
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Fri, 27 Jul 2012 04:33:30 +0000 (04:33 +0000)]
Update catalyst version. I messed up the tag so the new release is going to be 2.0.10.1.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Thu, 19 Jul 2012 05:36:17 +0000 (05:36 +0000)]
Add --deep to the emerge run on livecd-stage1.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Wed, 18 Jul 2012 03:27:17 +0000 (03:27 +0000)]
The livecd-stage1 target needs to rebuild packages with different use flags.
Sebastian Pipping [Tue, 10 Jul 2012 18:31:47 +0000 (20:31 +0200)]
Merge branch 'catalyst-spec-man-page' into catalyst_2
Sebastian Pipping [Mon, 9 Jul 2012 16:36:02 +0000 (18:36 +0200)]
Man page: Move section SEE ALSO down, add pointer to catalyst-spec(5)
Sebastian Pipping [Mon, 9 Jul 2012 16:33:24 +0000 (18:33 +0200)]
Fix typo in e-mail address
Sebastian Pipping [Mon, 9 Jul 2012 16:24:51 +0000 (18:24 +0200)]
Man page: There are multiple livecd targets, rather than a single target "livecd"
Sebastian Pipping [Mon, 9 Jul 2012 16:24:18 +0000 (18:24 +0200)]
Man page: Adjust language
Sebastian Pipping [Mon, 9 Jul 2012 16:23:25 +0000 (18:23 +0200)]
Man page: Make use of code block syntax
Sebastian Pipping [Mon, 9 Jul 2012 16:23:02 +0000 (18:23 +0200)]
Man page: fix typo "intented"
Sebastian Pipping [Mon, 9 Jul 2012 16:09:50 +0000 (18:09 +0200)]
Makefile: Re-join man page generation
Sebastian Pipping [Mon, 9 Jul 2012 15:57:10 +0000 (17:57 +0200)]
Makefile: Make catalyst.1 not depend on doc/targets.generated.txt without reason
Sebastian Pipping [Mon, 9 Jul 2012 15:47:38 +0000 (17:47 +0200)]
Man page: Make target "netboot" go before "netboot2"
Sebastian Pipping [Mon, 9 Jul 2012 15:41:44 +0000 (17:41 +0200)]
Move class docstrings into classes, add module docstrings to feed catalyst-spec(5) target listing
Sebastian Pipping [Mon, 9 Jul 2012 15:02:12 +0000 (17:02 +0200)]
Migrate doc/make_target_table.py to Catalyst 2.x and Python 2.x
Sebastian Pipping [Mon, 9 Jul 2012 15:03:58 +0000 (17:03 +0200)]
Man page: fix typo "athalon-xp"
Sebastian Pipping [Mon, 9 Jul 2012 14:40:38 +0000 (16:40 +0200)]
Makefile: Rename CLEAN_FILES to GENERATED_FILES
Sebastian Pipping [Mon, 9 Jul 2012 14:36:18 +0000 (16:36 +0200)]
Makefile: Add $(MAN_PAGE_SOURCES) to resolve explicit listing of man pages
W. Trevor King [Mon, 9 Jul 2012 14:23:18 +0000 (16:23 +0200)]
Introduce catalyst-spec(5) man page
Sebastian Pipping [Mon, 2 Jul 2012 14:48:44 +0000 (16:48 +0200)]
Replace content on master with content from catalyst_2
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Mon, 2 Jul 2012 01:21:58 +0000 (01:21 +0000)]
Stop removing dev-util/ccache on stage3 since that is done by depclean on chroot-functions.sh.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 13 May 2012 18:04:34 +0000 (18:04 +0000)]
Release 2.0.9
Jeremy Olexa [Wed, 7 Dec 2011 15:58:25 +0000 (15:58 +0000)]
s:/etc/make.profile:/etc/portage/make.profile:g - Use new location
Take 2, specify target symlink better and create /etc/portage first
(fails with stage2 otherwise)
Conflicts:
modules/generic_stage_target.py
targets/stage1/stage1-controller.sh
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 13 May 2012 17:55:21 +0000 (17:55 +0000)]
From: Jeremy Olexa <darkside@gentoo.org>
Date: Tue, 20 Dec 2011 15:35:16 +0000
Subject: [PATCH] s:/etc/make.conf:/etc/portage/make.conf:g - Use new location
Raúl Porcel [Fri, 11 May 2012 20:14:29 +0000 (20:14 +0000)]
Release 2.0.8.1
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Thu, 10 May 2012 16:27:14 +0000 (16:27 +0000)]
Revert drop of /etc/make.profile since the move to /etc/portage/make.profile was reverted.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 6 May 2012 23:27:27 +0000 (23:27 +0000)]
Stop dropping /etc/portage from the stages and update its contents from portage_confdir.
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sat, 5 May 2012 19:10:44 +0000 (19:10 +0000)]
Revert
97b38787d5e72ef091e1673ed37131b8ad97d6be (moving make.profile from /etc to /etc/portage) until we document it and make everything work with it.
Raúl Porcel [Thu, 3 May 2012 18:59:26 +0000 (18:59 +0000)]
Add armv6j_hardfp
Raúl Porcel [Thu, 3 May 2012 18:58:14 +0000 (18:58 +0000)]
Add armv6j_hardfp
Jorge Manuel B. S. Vicetto (jmbsvicetto) [Sun, 22 Apr 2012 02:43:45 +0000 (02:43 +0000)]
Update version to do a 2.0.8 release.