d11wtq / gentoo-packer Goto Github PK
View Code? Open in Web Editor NEWPacker scripts to create a Gentoo Vagrant box
Packer scripts to create a Gentoo Vagrant box
Hey,
Good work, I used your script, and it's working just well ;)
I'm just wondering if at that time you found my script. A bit more complicated, but somehow, more powerful :)
Let me know if we could collaborate in some ways!
Cheers!
Awesome project!
I found an issue in kernel.sh. I noticed an error
virtualbox-iso: mv: cannot stat '/tmp/files/kernel.config': No such file or directory
The files is actually copied to /mnt/gentoo/tmp
which is just /tmp
after the chroot
. None of the kernel settings are being used. It is just whatever comes from the stage3 file.
Freaking awesome, man! I'd love to get the latest ISO, though (the one in your JSON expired and is no longer in distfiles.)
I just edited the files manually and had to increase the SSHD wait time and retype the passwd and start commands because it typed over the boot sequence. Can this be tied to a log event so there isn't a race?
I don't know if this is an actual problem, or an expected warning, but dd at this point reports this error. Sorry if this is noise in your queue. :)
virtualbox-iso: 2014-10-28 14:37:24 (24.8 KB/s) - 'zerofree-1.0.3.tgz' saved [8506/8506]
virtualbox-iso:
virtualbox-iso: zerofree-1.0.3/
virtualbox-iso: zerofree-1.0.3/zerofree.c
virtualbox-iso: zerofree-1.0.3/Makefile
virtualbox-iso: zerofree-1.0.3/COPYING
virtualbox-iso: gcc -o zerofree zerofree.c -lext2fs
virtualbox-iso: dd: writing to '/dev/sda3': No space left on device
==> virtualbox-iso: Gracefully halting virtual machine...
==> virtualbox-iso: Preparing to export machine...
virtualbox-iso: Deleting forwarded port mapping for SSH (host port 2970)
==> virtualbox-iso: Exporting virtual machine...
virtualbox-iso: Executing: export Gentoo --output output-virtualbox-iso/Gentoo.ovf
==> virtualbox-iso: Unregistering and deleting virtual machine...
==> virtualbox-iso: Running post-processor: vagrant
==> virtualbox-iso (vagrant): Creating Vagrant box for 'virtualbox' provider
virtualbox-iso (vagrant): Copying from artifact: output-virtualbox-iso/Gentoo-disk1.vmdk
virtualbox-iso (vagrant): Copying from artifact: output-virtualbox-iso/Gentoo.ovf
virtualbox-iso (vagrant): Renaming the OVF to box.ovf...
virtualbox-iso (vagrant): Compressing: Gentoo-disk1.vmdk
virtualbox-iso (vagrant): Compressing: Vagrantfile
virtualbox-iso (vagrant): Compressing: box.ovf
virtualbox-iso (vagrant): Compressing: metadata.json
Build 'virtualbox-iso' finished.
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: gentoo-amd64-stage3-virtualbox.box
jesse@fuji-02 Tue Oct 28
/dev/shm/packer/gentoo-packer/ (master) date
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.