Commit Graph

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
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