Commit Graph

57 Commits

Author SHA1 Message Date
Johny Mattsson 1fdbd917d8
Fix for not-tar'ing-stage-4 after unpack.
Not wanting to tar it up should not cause the whole build to abort.
2017-10-03 09:42:19 +02:00
Johny Mattsson edf6dacf55
Fix to cope with dir permissions.
During regular operation the parent directory ends up owned by root and
the sudo is required for the mkdir to succeed.
2017-10-03 09:42:18 +02:00
Johny Mattsson 69cfe785da
Fix to ensure debootstrap finds its functions.
Relying on /usr/share/ is fraught with problems, as I found out the hard
way.
2017-10-03 09:42:18 +02:00
parazyd d4c0960f3e
return true with bootstrap for loops 2017-09-27 16:58:52 +02:00
parazyd 1b1e557010
don't check for keepfiles on tar_unpack 2017-09-25 15:58:03 +02:00
parazyd a2ec7b8961
export noninteractive earlier in the bootstrap process 2017-09-24 17:15:47 +02:00
parazyd 038173aa1f
use $_extraopts on mksquashfs
this is a new prefered behaviour since we don't always want to imply x86
optimization to the squashfs
2017-09-24 16:33:32 +02:00
parazyd c2b381d888
make $inittab append as a for loop 2017-09-24 16:17:40 +02:00
parazyd 0b1a5598cb
fixup! implement optional stage4 tar archival 2017-09-11 14:03:24 +02:00
parazyd f6ecc0e41b
implement optional stage4 tar archival
this commit adds support for declaring $TAR_STAGE4 in the environment.
it will archive and unarchive the stage4 tarball, which is the state at
the very end of bootstrapping
2017-09-11 13:41:45 +02:00
parazyd e2738e9aef
explicit debootstrap path 2017-06-19 12:28:14 +02:00
parazyd ed4dedfcd0
add gpg signing for apt cache 2017-05-22 00:31:41 +02:00
parazyd f74f2b38ea
disable leftover locales.sh 2017-05-21 21:09:31 +02:00
parazyd 0517fd867d
apt caching proof of concept 2017-05-21 20:31:52 +02:00
parazyd 48be0c4e91
fix args 2017-05-16 17:25:23 +02:00
parazyd e4ea70d60e
allow long apt arguments in extra_packages 2017-05-16 15:56:01 +02:00
parazyd 22c24a992c
use the correct -archive- keyring 2017-05-15 15:34:19 +02:00
parazyd eed8948991
import devuan keyring as git submodule and utilize it in debootstrap 2017-05-15 15:12:43 +02:00
parazyd 9461b3b87b
unpack the tarball now and then 2017-04-23 21:58:15 +02:00
parazyd 8ad0d444e3
update the sources list if needed when unpacking the tarball 2017-04-23 16:58:54 +02:00
parazyd ed9ac4338b
safety check for unavailable packages when installing $extra_packages 2017-04-15 17:29:36 +02:00
parazyd 32c372909a
limit code to 80ch width 2017-03-18 21:30:58 +01:00
parazyd 6e29a8a299
create strapdir/tmp with good permissions 2017-03-10 03:04:50 +01:00
parazyd 0e2810b75c
hack around .keep for tarball 2017-02-15 16:32:37 +01:00
parazyd 99488030c8
??? 2017-02-15 15:54:45 +01:00
parazyd 693ee05e21
verbose on found nbd 2017-02-15 15:52:37 +01:00
parazyd f002c12258
refresh libdevuansdk code 2017-02-14 20:03:12 +01:00
parazyd a4cf35c5b6
apply fixes for a valid build 2017-02-14 18:46:21 +01:00
parazyd 056c2d943f
initial import of vm/vagrant code 2017-02-14 17:23:23 +01:00
parazyd 0cfdec721f
fix cleanup in bootstrap 2017-02-13 13:05:23 +01:00
parazyd 162d058cf1
upstream debugflags from arm-sdk 2017-01-30 16:32:07 +01:00
parazyd 6002758634
simplify ssh setup 2017-01-20 14:21:00 +01:00
parazyd 8550bd6072
allow for multiple scripts in chroot-script 2016-12-18 14:47:23 +01:00
parazyd 367bf5fc2e
wrap chrooting in a function 2016-12-18 13:19:45 +01:00
parazyd f4bf3aefec
add basic ISO creation support 2016-10-17 17:52:00 +02:00
parazyd 331398ff51
install linux-firmware-free by default 2016-10-15 00:46:21 +02:00
parazyd af6960725d
remove redundant I/O 2016-10-12 13:58:47 +02:00
parazyd 60f168677b
gain about 30M on bootstrap pack 2016-10-11 23:04:36 +02:00
parazyd 24cd77335f
preserve env where needed on sudo calls 2016-10-11 22:37:44 +02:00
parazyd 1d0e5356f1
aesthetics 2016-10-11 22:37:20 +02:00
parazyd a82bb122bf
implement dpkgdivert as a separate function 2016-10-11 22:36:32 +02:00
parazyd 3252c94b5c
TEEVERBOSE is troublesome 2016-10-10 22:15:24 +02:00
parazyd 47a4f503b0
TEEVERBOSE doesn't like whitespace 2016-10-10 21:07:22 +02:00
parazyd d0ec7af010
have a clean bootstrap_tgz each time 2016-10-10 20:37:01 +02:00
parazyd 14b8a73b56
add TEEVERBOSE to tee calls 2016-10-10 19:54:19 +02:00
parazyd 291ed626bd
don't delete qemu on cleanup, do it later 2016-09-30 11:12:35 +02:00
parazyd f2bdce8156
add build_dist 2016-09-30 10:50:15 +02:00
parazyd 8ea24e6e47
more debugging 2016-09-30 10:21:37 +02:00
parazyd 47464d6368
add basic imaging 2016-09-29 22:36:12 +02:00
parazyd 91b1f24e1c
add readme 2016-09-29 22:02:25 +02:00