Coder Social home page Coder Social logo

savagedlight / poudriere Goto Github PK

View Code? Open in Web Editor NEW

This project forked from allanjude/poudriere

0.0 0.0 0.0 13.29 MB

Port/Package build and test system

Home Page: https://github.com/freebsd/poudriere/wiki

License: BSD 2-Clause "Simplified" License

Makefile 55.77% Shell 24.47% M4 0.05% Roff 1.97% C 8.47% Awk 0.80% JavaScript 1.71% CSS 0.19% HTML 0.65% Perl 3.37% Python 1.92% Tcl 0.26% Ruby 0.31% Assembly 0.01% Perl 6 0.05%

poudriere's People

Contributors

0mp avatar aklv avatar allanjude avatar ant1 avatar ashemedai avatar bapt avatar bdrewery avatar brd avatar cperciva avatar egypcio avatar emaste avatar erwinlem avatar evadot avatar georgefx avatar jadawin avatar jdmulloy avatar jlaffaye avatar jrmarino avatar mat813 avatar ocochard avatar pgollucci avatar pizzamig avatar rbgarga avatar sbz avatar seanbruno avatar smortex avatar sunpoet avatar swills avatar uzsolt avatar wca avatar

Watchers

 avatar

poudriere's Issues

zfssend: Add support for multiple zfssend targets on the same build

Use case

It's desired with both an installation (zfssend) and upgrade (zfssend+be) image for a host.
Currently, this involves running "poudriere image" twice, doing a lot of duplicate work. (example: installing 160 packages twice)

Fix

It's desired to add new image types to fix this problem, and to make zfssend understand merging of them.
Argument:
zfssend+param1+param2+...
zfssend: alias for zfssend+full

  • +full
    • Current implementation of zfssend
    • Append .full.zfs to image name
  • +be
    • Current implementation of "zfssend+be".
    • Append .be.zfs to image name.

poudriere image: build log

Currently, everything is echoed to STDOUT but does not seem to log it anywhere. Make "poudriere image" create a build log and write output there.

[Documentation] Imprecise description of command line option -o

The command line option "-o" is described as follows, by the commands output:

Build a miniroot image as well (for tar type images), and
overlay this directory into the miniroot image

This seems to implicate it's only for tar type images, but it works perfectly fine with zfssend (and presumably, zrawdisk)###

poudriere image: Allow specifying a custom package repository

Use case: building images on a different system than the package builder.

Currently, poudriere image assumes there is a locally built package repository, and fails if it doesn't exist.

Solution: Allow specifying custom package repository using a command line option or environment variable.

Allow multiple overlay directories (option: -c)

Use case:

  • One directory with common file structure for all images
  • One (or several) directories with file structure for a specific image, or sets of images

Example:
poudriere image (...) -c /mnt/common -c /mnt/envs/staging -c /mnt/servers/someservername

would overlay files from the directories in the provided order.

poudriere image is a bit too eager setting hostname

poudriere imgage seems to intend to only set a hostname in rc.conf if it's specified:

# Set hostname
if [ -n "${HOSTNAME}" ]; then
	chroot ${WRKDIR}/world sh -c "echo \"hostname=${HOSTNAME}\" >> /etc/rc.conf"
fi

This variable may be set with the "-h" command line option, but there's a default value of "poudriere-image".

Consider not setting the default value.
Alternatively, consider not writing the default value to rc.conf if rc.conf already contains a hostname directive.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.