q66
b795f541a6
mkrootfs: enable ppc64 + ppc-musl support
...
Closes : #26 [via git-merge-pr]
2019-05-25 13:30:54 -07:00
stenstorp
40dd7a4ede
mkrootfs.sh.in: Mention ppc-musl
2019-05-12 01:13:53 -04:00
stenstorp
12bf9c0625
mkrootfs.sh.in: Actually implement the -b option
2019-05-12 01:12:24 -04:00
Foxlet
4d81747387
mkrootfs: enable ppc support
2018-09-28 18:50:58 -07:00
Piraty
b4218de9b2
make -h option work for mkrootfs and mkplatformfs
...
Closes : #133 [via git-merge-pr]
2017-09-24 15:58:11 -07:00
Michael Aldridge
41676808b3
mkrootfs.sh.in remove redundant variable
2017-08-31 20:07:51 -07:00
Michael Aldridge
9debeafbf6
mkrootfs.sh.in: support arbitrary filenames
2017-08-29 22:42:40 -07:00
Michael Aldridge
4f514f5212
Explicitly set number of xz compressor threads
2017-08-21 00:04:17 -07:00
Michael Aldridge
3e5c8d43e7
Fix handling of i686 on an x64 host
2017-08-14 00:59:05 -07:00
Michael Aldridge
c0424731dd
mkimage.sh.in: Use abstracted chroot access
2017-08-13 17:45:22 -07:00
Michael Aldridge
119a0ad1b5
Add mkplatformfs.sh.in
2017-08-12 20:06:20 -07:00
Michael Aldridge
fa88e042ba
Fix native config path bug
2017-08-12 16:42:07 -07:00
Michael Aldridge
b531fae80b
Factor out tool check to lib.sh.in
2017-08-11 00:56:28 -07:00
Michael Aldridge
069d8c48eb
Fix password set step
2017-08-10 23:44:10 -07:00
Michael Aldridge
34bffe1e2a
Factor out chroot helpers to lib.sh
...
This commit removes all of the chroot refactor to a seperate file.
This paves the way to use these functions in all other scripts.
2017-08-10 23:28:26 -07:00
Michael Aldridge
10568660ac
Clean up chroot/QEMU logic
...
The logic that sets up the QEMU static binary to permit running alien
binary formats is quite complex. This commit cleans up a lot of the
logic around this and adds a huge number of comments to try and
clarify why things happen when they do. Ultimately this commit
provides a lot of the ground work to factor out all of the chroot
setup into a seperate shell file that can be sourced by other mklive
tasks that need to operate inside of a chroot with a possibly alien
executable format.
2017-08-10 00:01:09 -07:00
Michael Aldridge
a7ba42f7ec
Simplify mkrootfs.sh.in
...
Previously this script could produce rootfs tarballs suitable for a
few different systems. This worked but meant that several different
scripts were then building root filesystems instead of just using ones
produced by this script. This commit cleans up the script to produce
just a root filesystem. Note that this system is not bootable, that
still needs to be done by another script which processes platform
specific operations. This script just produces a root filesystem for
every architecture that XBPS understands.
2017-08-09 17:28:10 -07:00
Michael Aldridge
1547ff40e6
mkrootfs.sh.in: generous helping of quotes
2017-08-08 18:47:23 -07:00
Michael Aldridge
039360118b
Consistently use ROOTFS to refer to the system being built
2017-08-07 19:31:31 -07:00
Michael Aldridge
04bf2e873b
Support building GCP ready images
2017-08-03 21:22:48 -07:00
Leah Neukirchen
57c6107be3
mkrootfs.sh.in/mkimage.sh.in: add rpi3.
2017-01-14 18:41:30 +01:00
Chris Brannon
4317c1a4f6
Preserve Linux capabilities when running tar, and misc fixes for mkrootfs. ( #92 )
...
* Preserve Linux capabilities in various tar invocations.
Otherwise, ping as non-root will not work when using a Void image.
Don't try to umount pseudofilesystems when $rootfs is undefined.
On mktemp failure, die in the script itself, not the $( ... ) subshell.
And remove the second FATAL: from the error message.
2016-12-10 12:30:13 +01:00
Christian Neukirchen
8af0cf2d15
mkrootfs.sh.in: fix for odroid-c2.
2016-09-24 17:21:43 +02:00
Christian Neukirchen
d1e633fc12
mkrootfs.sh.in: add odroid-c2.
2016-05-04 19:24:46 +02:00
Juan RP
9d66fae1c0
mkrootfs: ignore rmdir error output.
2016-04-29 09:23:38 +02:00
Juan RP
8b06a299c9
mkrootfs: added ci20 platform support (MIPS CI20 Creator).
2016-04-26 11:00:14 +02:00
Juan RP
06f8beb628
*rootfs: fix remaining x86 rootfs issues.
2016-04-20 16:19:55 +02:00
Juan RP
a15f8c0300
mkrootfs: generate x86 tarballs correctly, requested by scaleway.
2016-04-20 14:36:57 +02:00
Rui Abreu Ferreira
465166a80f
mkrootfs: Added -k to run post hook
...
New flag -k <cmd>. "<cmd> <path>" is executed after the rootfs
is created, <path> points to the new rootfs.
2016-01-18 15:18:30 +00:00
Andrea Brancaleoni
8a42aecd3f
mkrootfs: add dockstar support
2015-07-18 16:44:49 +02:00
Juan RP
539ed0703a
mkrootfs: get rid of pixz; fix rpi target arch.
2015-06-12 10:28:40 +02:00
Juan RP
1b010f1a4c
mkrootfs: set cachedir to $PWD/xbps-cachedir-<arch>; misc tweaks for musl.
2015-06-12 10:09:48 +02:00
Juan RP
9261876718
mkrootfs: update for musl support.
2015-06-11 11:36:14 +02:00
Duncaen
429170afbd
mkrootfs: fix rpi2 target
2015-06-07 22:36:36 +02:00
Juan RP
42b599fa97
mkrootfs: update for xbps-0.45.
2015-06-07 12:31:30 +02:00
Juan RP
91c7d09305
mkrootfs: fix previous.
2015-05-26 11:20:30 +02:00
Juan RP
b77a40785e
mkrootfs: accept *-musl for any platform.
2015-05-26 11:19:39 +02:00
Juan RP
41fbde8a5b
mk{image,rootfs}: accept musl targets and fix image creation with two partitions.
2015-05-26 11:00:52 +02:00
Juan RP
3845a5b429
mkrootfs: add cubietruck platform.
2015-05-22 09:33:32 +02:00
Juan RP
fc31e013a3
mkrootfs: fix -r order.
2015-05-20 19:18:05 +02:00
Enno Boland
8b238fad3f
add platform support for USB armory
2015-04-28 17:30:16 +02:00
Juan RP
c332eae781
mkrootfs: die if $QEMU_BIN is not in PATH.
2015-02-12 09:14:22 +01:00
Juan RP
5684607fce
mkrootfs: generate rpi2 tarballs with a proper name.
2015-02-06 14:00:15 +01:00
Juan RP
6a68e5c875
mkrootfs: override PLATFORM for rpi; we do use the same platform pkg.
2015-02-06 12:16:14 +01:00
Juan RP
e52f493f15
mk{image,rootfs}: add support for the rpi2 platform (armv7).
2015-02-06 11:29:49 +01:00
Christian Neukirchen
0b9c6f0160
mkrootfs: support i686/x86_64.
2015-02-01 09:23:30 +01:00
Christian Neukirchen
5331b55e39
mkrootfs: use parallel xz.
2015-02-01 09:23:30 +01:00
Juan RP
c2a95e625f
mkrootfs: add 'bananapi' platform.
2015-01-19 15:07:53 +01:00
Juan RP
3818e6d425
mk{image,rootfs}: misc tweaks for beaglebone.
2014-12-05 11:06:39 +01:00
Juan RP
b6ca6f8027
mkrootfs: put /boot/MLO at the head on beaglebone.
...
This file must be in the first sectors of the /boot FAT partition on the image.
2014-12-05 07:06:39 +01:00