270 Commits

Author SHA1 Message Date
parazyd
8cec5f6c9d
implement arrays holding apt options for core/base/extra/purge packages 2017-11-28 19:50:52 +01:00
parazyd
b90aaecfb0
replace "sudo -E" calls 2017-11-13 17:45:54 +01:00
parazyd
fb212c12d0
zlibs/iso: change initrd to initrd.img
grub-efi looks for initrd.img and this seems like a sane way to mitigate
without hacks
2017-11-05 23:15:07 +01:00
parazyd
98de6562f8
fixup! automatically pick up the correct qemu binary 2017-10-27 21:07:48 +02:00
parazyd
25346228d4
automatically pick up the correct qemu binary 2017-10-27 21:04:31 +02:00
parazyd
5c9bc1a0a4
generate sha256 for the tarballs 2017-10-27 20:33:14 +02:00
parazyd
ffd33dee6b
create a tarbomb along with rsyncing the rootfs 2017-10-27 20:23:18 +02:00
parazyd
92f3e3bbbe
revise sysconf 2017-10-27 20:07:36 +02:00
parazyd
623d05beff
generate a en_US.UTF-8 locale by default 2017-10-27 20:06:19 +02:00
parazyd
858c37edee
fixup! add ext2 support for partitioning 2017-10-27 20:00:53 +02:00
parazyd
c018a20268
add ext2 support for partitioning 2017-10-27 19:22:48 +02:00
parazyd
9b97dc038d
mount devprocsys on install-debs; reported by cyteen_ 2017-10-27 16:59:07 +02:00
parazyd
a00868741d
fix apt-cache bug where the same entry is written twice 2017-10-26 21:30:54 +02:00
parazyd
ad91c94a2e
cleanup workdir if debug mode is off after iso creation 2017-10-26 21:30:18 +02:00
parazyd
f7c38c1457
syslinux is now imported, so no need for different paths 2017-10-26 21:29:40 +02:00
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