| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This bug was introduced in commit 52c9d37ff5de18981d6ecbe5bdde524b2bf4ebda when a trailing slash was added to target_subpath.
|
| |
|
| |
|
| |
|
|
|
|
| |
Nobody should be executing this file directly.
|
|
|
|
|
|
|
|
|
|
| |
* Move data_file generation out of setup().
* Return per-directory keys, since distutils only uses the directory
key and value filename (not the value path) when installing
data_files.
* Use relative key paths for more flexible installation.
* Raise NotImplementedError if os.path.sep is not '/', which allows
for simpler path handling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid:
$ make
...
"./doc/make_target_table.py" > "doc/targets.generated.txt"
Traceback (most recent call last):
File "./doc/make_target_table.py", line 34, in <module>
__import__(module_name)
ImportError: No module named catalyst.targets.embedded
make: *** [doc/targets.generated.txt] Error 1
This also ensures that the local catalyst package takes precedence
over any previously installed version.
|
|
|
|
|
|
|
|
|
|
|
| |
The syntax for the rules is:
targets ...: target-pattern: prereq-patterns | order-only-prerequisites
For details, see:
http://www.gnu.org/software/make/manual/html_node/Static-Usage.html
http://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
|
|
|
|
|
|
| |
* Add/modify functions to save and retrieve the set version
information or the live git version.
* Change indent to tabs.
|
|
|
|
|
|
|
|
| |
Package catalyst in the usual manner for Python projects. Now it is
ready for PyPI :).
I also expose the version string in catalyst.__version__, since that's
a more traditional location than catalyst.version.__version__.
|
| |
|
|
|
|
| |
Update HOWTO to include the testpath use.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This gives users a heads up explaining why they might see linking
errors when pkgcache is enabled. I first saw this when I build a
stage1 without update_seed. Because my seed stage3 linked against
libmpc.so.2, some of my stage1 files linked against the older mpc.
However, the mpc-1.0.1 built for the stage1 installed libmpc.so.3.
When I tried to use this stage1 to build a stage2, it died with:
/usr/libexec/gcc/i686-pc-linux-gnu/4.6.3/cc1:
error while loading shared libraries: libmpc.so.2:
cannot open shared object file: No such file or directory
To fix this, I enabled update_seed, but binary packages built during
my first pass were used to populate the stage1, so even though I'd
updated the seed stage3 toolchain, I still had a stage1 with cc1
linked against libmpc.so.2.
After clearing the binary package cache, I got a stage1 *built* with
the updated seed stage3, which gave a cc1 linked against libmpc.so.3
(hurray!).
This commit adds a warning in the pkgcache documentation that should
help people understand what might be going wrong if they see similar
linking errors. For more details, see the thread following
http://thread.gmane.org/gmane.linux.gentoo.catalyst/2137/focus=2193
|
|
|
|
|
|
|
|
| |
This mostly translates the inline comments from files/catalyst.conf
into asciidoc. While it's nice to have that as stand-alone
documentation, it also makes it easier to refer to longer descriptions
of any tricky issues. This gives us a place to distill the collected
wisdom of current users for the benefit of others.
|
|
|
|
|
| |
Otherwise the XSESSION change from e523136 (livecdfs-update.sh: Set
XSESSION in /etc/env.d/90xsession, 2013-03-02) is not noticed.
|
|
|
|
|
|
|
|
| |
As part of the OpenRC migration, the recommended place for configuring
the default X session moved from /etc/rc.conf to /etc/env.d/90xsession
[1].
[1]: http://www.gentoo.org/doc/en/openrc-migration.xml
|
|
|
|
|
|
|
| |
sshd_config lives in /etc/ssh, not /etc/sshd. This typo has been
present since the block was introduced by c06264e (Initial import of
Catalyst 2.0.0, 2005-04-04), so it's obviously not a widely used
feature ;). It might be better to just remove the block entirely.
|
|
|
|
|
|
| |
With:
$ sed -i 's/^\(#.*\)\(#.*\)/\1\n\2/' examples/*.spec
|
|
|
|
|
|
|
| |
This information is generally useful, and folks probably only read
TODO if they want to help but don't already have an idea of what to
help with ;). Having the contact information in the README should
raise its visibility.
|
|
|
|
|
|
|
|
| |
Thanks to Dustin C. Hatch for pointing this out, because I wasn't able
to find it on my own. Having a pointer distributed with Catalyst
should help other newcomers find example spec files written by folks
who know what they're doing ;). The current examples lack a full
stage1-through-stage3 progression.
|
| |
|
|
|
|
| |
The method name was unpack, so rename the local var to _unpack to help avoid confusion.
|
| |
|
| |
|
|
|
|
| |
Use os.path.dirname() instead of splitting and rejoining without the filename.
|
|
|
|
|
| |
Create catalyst/base/resume.py.
Migrate all auto_resume operations to using the new class.
|
| |
|
|
|
|
| |
Migrate to using ensure_dirs()
|
|
|
|
| |
This will make tagging releases easy as well as providing better debug info while running live versions of the software.
|
|
|
|
|
|
|
|
| |
Ported from commits:
462348d88b3a5fa783f322c64131025581ecc220
f6ad384914a00099eea2a0f66232728c479ec628
in the master branch.
AUTHOR: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> (Sun 14 Apr 2013 08:22:34 PM PDT)
|
|
|
|
|
| |
port commit for the rewrite branch.
Brian Dolbec <dolsen@gentoo.org>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add a check for the update_seed option to set the correct update options.
Fix default seed stage update command to properly update gcc and it's deps.
Add --binpkg-respect-use=y for all cases --usepkg is enabled.
Apply patch to fix broken if logic in the setup_emergeoptions() by Douglas Freed <dwfreed@mtu.edu> and rebase
|
|
|
|
| |
Remove useless python tracebacks for bash side target failures.
|
| |
|
| |
|
|
|
|
|
|
| |
Create "port_conf" default.
Migrate all references to /etc/portage to the config's default.
Migrate all make.conf paths to the config'd default.
|
|
|
|
| |
If clst_PGKCACHE is defined, --newuse was not being added to clst_myemergeopts, so then portage was not being rebuilt if portage was already up to date.
|
| |
|
|
|
|
| |
directly without being installed.
|
|
|
|
| |
Migrate this and other code to use python's logging module.
|
|
|
|
|
| |
remove extra slashes in paths,
fix hash header
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add a "shdir" setting to config.
This is to make moving the bash code around easier.
It also reduces more hardcoded paths in the bash scripts.
Migrate all target shell scripts to use the new shdir setting
|
|
|
|
|
|
| |
Also add embedded variable substitiution to default settings.
Why are we not using python's built-in ConfigParser?
We'll migrate it later.
|
| |
|
|
|
|
|
|
| |
Just do it once and use the temp variable.
Comment out some debug print's.
Fix options conversion for export to bash.
|