Commit Graph

255 Commits

Author SHA1 Message Date
parazyd 226008739b
fix bug in silly(): always return true 2017-10-26 21:27:58 +02:00
parazyd 74185101e6
style fixes and some quoting in zlibs/bootstrap 2017-10-26 21:27:21 +02:00
parazyd 1aba75a84b
run apt-get clean before tarballing 2017-10-26 21:26:43 +02:00
parazyd 2ff044d350
fix autoremove in helpers; reported by cyteen_ 2017-10-25 15:25:16 +02:00
parazyd fc38a09982
change param order on mksquashfs; reported by cyteen_ 2017-10-25 13:19:55 +02:00
parazyd 6968ae2ffd
remove pixz support 2017-10-04 21:36:28 +02:00
Johny Mattsson 68c90d1ae9
Added explicit var to control boot fs type.
Since use of GPT does not necessarily imply lack of wanting the boot
partition formatted and mounted.
2017-10-03 09:42:19 +02:00
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 cb7edb49bf
Merge branch 'next' 2017-09-25 12:17:36 +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 703d752247
make aptcache sources.list explicit 2017-09-23 20:38:55 +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 07d1f39ce6
fix xz discovery 2017-07-24 20:22:21 +02:00
parazyd 2e871f39e7
fixup! net.ifnames=0 in vm's grub 2017-07-20 17:09:34 +02:00
parazyd 378887ba79
net.ifnames=0 in vm's grub 2017-07-20 15:54:30 +02:00
parazyd 192a58f259
zlibs are not executable 2017-07-20 13:55:22 +02:00
parazyd 258bcc8083
enable root login in vm's sshd (new openssh changed the keyword) 2017-07-20 13:45:54 +02:00
Jaromil 18f4c0b072 added support for different filesystems in qcow2 imaging strapdir 2017-07-19 16:58:32 +02:00
parazyd 855fed21f5
defautl to x86 compression for mksquashfs 2017-07-10 14:06:12 +02:00
parazyd 6cdae5fd4d
fix $_xz bug 2017-06-26 18:46:05 +02:00
parazyd 3cbe3774c8
explicit debootstrap path 2017-06-26 17:58:50 +02:00
parazyd eb25c1df0e
apply gio's patch to set bootable flag on the vfat partition 2017-06-26 17:58:49 +02:00
parazyd c209032462
optional memtest 2017-06-26 17:58:49 +02:00
parazyd 895c6eaaff
make apt-cache opt-in; add contrib and non-free by default 2017-06-26 17:58:48 +02:00
parazyd bb46f77ec5
correct path for Release signature 2017-06-26 17:58:48 +02:00
parazyd 1c0ce6cef1
apt path fix 2017-06-26 17:58:48 +02:00
parazyd d0038d87c4
add gpg signing for apt cache 2017-06-26 17:58:47 +02:00
parazyd 5152c1fafa
create cache repo outside of the chroot 2017-06-26 17:58:47 +02:00
parazyd 9989685971
disable leftover locales.sh 2017-06-26 17:58:47 +02:00
parazyd 31975211b1
no-recommends for dpkg-dev (fill_apt_cache) 2017-06-26 17:58:47 +02:00
parazyd a92a5aee8d
apt caching proof of concept 2017-06-26 17:58:46 +02:00
parazyd fa06bc6308
fix args 2017-06-26 17:58:46 +02:00
parazyd 21751d50c8
allow long apt arguments in extra_packages 2017-06-26 17:58:46 +02:00
parazyd 1f1c46adfb
remove leftover vim swapfile 2017-06-26 17:58:46 +02:00
parazyd fb48ba1396
support for gentoo isohybrid path 2017-06-26 17:58:45 +02:00
parazyd 2ff881612c
support gentoo isolinux location 2017-06-26 17:58:45 +02:00
parazyd 46f32b43a4
no need for mappdevice in image_pack_dist 2017-06-26 17:58:44 +02:00
parazyd 09d62450cb
proper partx support 2017-06-26 17:58:44 +02:00
parazyd 51f8be6509
use the correct -archive- keyring 2017-06-26 17:58:44 +02:00
parazyd 49206a107d
import devuan keyring as git submodule and utilize it in debootstrap 2017-06-26 17:58:43 +02:00
parazyd c9473e5f46
deprecate kpartx in favor of partx 2017-06-26 17:58:43 +02:00
parazyd e7d9cb5ceb
try a different xz call with an array 2017-06-26 17:58:43 +02:00
parazyd 7b0dab995d
safer fails 2017-06-26 17:58:42 +02:00
parazyd e244de8be4
update the sources list if needed when unpacking the tarball 2017-06-26 17:54:38 +02:00
parazyd 520a27422d
same for iso_squash_strap 2017-06-26 17:54:38 +02:00
parazyd 0066f6c699
apply uefi_opt if we're building a uefi-enabled iso 2017-06-26 17:54:38 +02:00
parazyd ee56a54cf5
Merge branch 'next' of https://git.devuan.org/sdk/libdevuansdk into next 2017-06-19 13:17:32 +02:00
parazyd e2738e9aef
explicit debootstrap path 2017-06-19 12:28:14 +02:00
parazyd 07e11b132b
apply gio's patch to set bootable flag on the vfat partition 2017-06-16 14:24:59 +02:00
parazyd 558a16eb9c
optional memtest 2017-06-05 12:50:43 +02:00
parazyd f543fb6b36
make apt-cache opt-in; add contrib and non-free by default 2017-05-23 13:54:53 +02:00
parazyd 22fafa115c
correct path for Release signature 2017-05-22 00:58:28 +02:00
parazyd 0df3f14cdd
apt path fix 2017-05-22 00:55:39 +02:00
parazyd ed4dedfcd0
add gpg signing for apt cache 2017-05-22 00:31:41 +02:00
parazyd ac325f77d2
create cache repo outside of the chroot 2017-05-22 00:02:25 +02:00
parazyd f74f2b38ea
disable leftover locales.sh 2017-05-21 21:09:31 +02:00
parazyd 17098d54aa
no-recommends for dpkg-dev (fill_apt_cache) 2017-05-21 20:43:20 +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 1a15a3f36b
remove leftover vim swapfile 2017-05-16 15:12:23 +02:00
parazyd 67ede3bd8c
support for gentoo isohybrid path 2017-05-15 18:50:57 +02:00
parazyd 070f35481d
fixup! fixup! support gentoo isolinux location 2017-05-15 18:45:30 +02:00
parazyd 6019687bc8
fixup! support gentoo isolinux location 2017-05-15 18:24:35 +02:00
parazyd fafcb999a2
support gentoo isolinux location 2017-05-15 18:16:44 +02:00
parazyd 4c80ff10ef
no need for mappdevice in image_pack_dist 2017-05-15 17:08:41 +02:00
parazyd d693431e25
fixup! proper partx support 2017-05-15 16:33:44 +02:00
parazyd bcfc231bdd
proper partx support 2017-05-15 16:05:03 +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 23cc6fc711
deprecate kpartx in favor of partx 2017-05-15 13:57:01 +02:00
parazyd dac77409c2
try a different xz call with an array 2017-05-05 18:48:21 +02:00
parazyd 6a0fb10b6d
fixup! safer fails 2017-05-03 15:32:40 +02:00
parazyd ca4f489ebb
Merge branch 'next' of github.com:dyne/libdevuansdk into next 2017-05-03 14:05:36 +02:00
parazyd 523994035e
safer fails 2017-05-03 14:04:59 +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 db35673fa3
same for iso_squash_strap 2017-04-23 15:03:22 +02:00
parazyd fb10e52b6b
apply uefi_opt if we're building a uefi-enabled iso 2017-04-23 14:59:01 +02:00
parazyd b7fedae885
unpack the tarball now and then 2017-04-15 18:17:02 +02:00
parazyd ed9ac4338b
safety check for unavailable packages when installing $extra_packages 2017-04-15 17:29:36 +02:00
parazyd 063f900791
fix gpt imaging 2017-04-12 18:25:34 +02:00
parazyd 5b791c9ef0
fixup! support pixz for compressing images faster 2017-04-12 17:14:17 +02:00
parazyd 3c25285d5c
support pixz for compressing images faster 2017-04-12 16:59:13 +02:00
parazyd 1756fde7de
facilitate logging on chroot-script calls 2017-04-01 22:29:52 +02:00
parazyd fea3aa058a
implement installation of fake packages 2017-03-27 13:57:59 +02:00
parazyd 5d8332af77
use an array for custdebs 2017-03-24 14:05:12 +01:00
parazyd 4ac417a4a9
fixup! refactor kernel installation 2017-03-19 15:22:29 +01:00
parazyd 32c372909a
limit code to 80ch width 2017-03-18 21:30:58 +01:00
parazyd d21f365060
refactor kernel installation 2017-03-18 21:25:01 +01:00
parazyd 1aaa06c09f
mount devprocsys on iso_prep_strap 2017-03-10 04:15:54 +01:00
parazyd 6e29a8a299
create strapdir/tmp with good permissions 2017-03-10 03:04:50 +01:00
parazyd 49560178fd
sleep less 2017-02-25 14:01:03 +01:00