Commit Graph

270 Commits

Author SHA1 Message Date
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
parazyd
fcf2439ffe
add live-boot-initramfs-tools as a iso dep 2017-02-24 12:54:12 +01:00
parazyd
9102ee317b
add add-user() helper function 2017-02-23 15:06:28 +01:00
parazyd
c9b130edb1
no haveged by default 2017-02-22 14:55:26 +01:00
parazyd
ee53a0b770
fix breakage on unknown blends 2017-02-22 14:09:20 +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
059a533ff7
added virtualbox cleanup on vm_pack_dist() 2017-02-15 15:42:57 +01:00
parazyd
a2a1ecd2c5
implement support for qcow2 images 2017-02-15 14:49:02 +01:00
parazyd
3165af5c09
disable sync in vagrantfile 2017-02-15 13:48:52 +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
94e77b5ebf
latest progress 2017-02-01 17:53:38 +01:00
parazyd
845a6286a8
rsync all at once now 2017-01-30 17:59:22 +01:00
parazyd
9bc8bf9d2e
rsync a bit differently 2017-01-30 17:24:55 +01:00
parazyd
162d058cf1
upstream debugflags from arm-sdk 2017-01-30 16:32:07 +01:00
parazyd
2c0a376d79
remove functionality because zsh 2017-01-20 15:09:27 +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
75a22f1134
fix ssh reconfigure 2016-11-13 12:47:28 +01:00
parazyd
dd5d5d9d36
regenerate ssh keys on first boot 2016-10-31 08:41:56 +01:00
parazyd
eb174853f1
add blends to image_dist 2016-10-26 16:33:12 +02:00
parazyd
6e6653c54a
add enserv and disserv; enables or disables init services 2016-10-26 16:27:10 +02:00
parazyd
cc56423e35
switch to vesamenu; add installer 2016-10-19 13:06:57 +02:00
parazyd
60ecf2ada8
add build_iso_dist() and dpkg diverts to 386/amd64 kernels 2016-10-18 12:05:22 +02:00
parazyd
f4bf3aefec
add basic ISO creation support 2016-10-17 17:52:00 +02:00
parazyd
d28e0a93f4
allow installation of custom debs 2016-10-16 19:22:42 +02:00
parazyd
331398ff51
install linux-firmware-free by default 2016-10-15 00:46:21 +02:00
parazyd
6813aa0b3d
implement enablessh() 2016-10-12 21:24:55 +02:00
parazyd
2ea6563962
add rsync safety checks (defconfigs change often) 2016-10-12 16:48:44 +02:00
parazyd
af6960725d
remove redundant I/O 2016-10-12 13:58:47 +02:00
parazyd
55637ebfb4
add gpt checks 2016-10-12 13:58:06 +02:00
parazyd
60f168677b
gain about 30M on bootstrap pack 2016-10-11 23:04:36 +02:00
parazyd
453b5f0da9
add small todo on blends 2016-10-11 22:57:14 +02:00
parazyd
ab5818b925
fix dpkgdivert 2016-10-11 22:48:38 +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
cc3d545845
forgot a sudo 2016-09-30 19:18:09 +02:00
parazyd
abbbd2ae52
fix findloopmapp 2016-09-30 14:27:34 +02:00
parazyd
5e8bb400d7
change kernel function naming scheme 2016-09-30 13:10:48 +02:00
parazyd
a25b54612f
try for a fix 2016-09-30 12:28:17 +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
b03a800c33
add qemu_install_user 2016-09-30 00:47:13 +02:00
parazyd
57bda192d5
add rsync and packing to imaging 2016-09-29 23:19:15 +02:00
parazyd
fbf3c68b5a
add installation of x86 kernel 2016-09-29 22:59: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
parazyd
076d7203ff
don't use system_packages anymore 2016-09-29 21:35:36 +02:00
parazyd
406ad45004
add bootstrap functions 2016-09-29 21:22:00 +02:00
parazyd
a52e018a44
begin refactoring 2016-09-29 21:19:10 +02:00
Jaromil
c61cbfca84 changed default location of bootstrap tgz 2016-07-08 19:23:00 +02:00
KatolaZ
eac99dea10 amended pkg_set_list 2016-06-21 00:44:57 +01:00
KatolaZ
2e582c48ee trying to force grub2 to install on loopback mbr from UEFI machine 2016-06-19 23:00:18 +01:00
KatolaZ
d7abbc1393 minimal blend management and stub for package management 2016-06-16 08:21:42 +01:00
parazyd
5f767dd9b5
workaround img_mkimage 2016-06-15 18:42:28 +02:00
parazyd
5d2b73fe62
install qemu-userstatic on bootstrap if applicable 2016-06-15 17:57:48 +02:00
Jaromil
9f282f6075 normalized bootstrap paths 2016-06-15 10:40:21 +02:00
KatolaZ
65b908fada stub for expectlib 2016-06-15 07:12:02 +01:00
Jaromil
fb9cb40d33 simplified loading of library
config moved to each sdk implementation, library checks if config
variables are set. other minor fixes (missing zlibs/grub source)
2016-06-13 18:12:32 +02:00
Jaromil
e3c0e5595b renaming of zlibs
now organized as name of file -> first prefix on functions
to reflect also the tools/actions of reference

bootstrap, isolinux, kernel, qemu, sysconf

eliminated generic "customize" name, obsoleted imaging
2016-06-13 16:57:54 +02:00
Jaromil
aa56b84ad9 iso to isolinux rename 2016-06-13 16:51:38 +02:00
Jaromil
467a85c70c customise: whitespace cleanup 2016-06-13 16:43:52 +02:00
Jaromil
db8d68391a namespace adjustements and checks 2016-06-13 16:43:31 +02:00
Jaromil
f0198a82bf iso: noappend to squashfs 2016-06-13 15:40:37 +02:00
KatolaZ
87b5bebffb reduced dependencies in target image to grub-common (instead than grub-pc) 2016-06-13 01:23:26 +01:00
KatolaZ
7a9cf9688a now make_qemu_img creates bootable images 2016-06-13 01:21:02 +01:00
KatolaZ
5787cc14c4 make_qemu_image produces an "almost-bootable" qemu image 2016-06-13 00:44:54 +01:00
KatolaZ
ad29e93415 added stuff in customise 2016-06-12 23:05:25 +01:00
KatolaZ
510875218b towards make_qemu_img 2016-06-12 18:21:43 +01:00
KatolaZ
e1c40a388a added "install_default_kernel" in "customise" 2016-06-12 17:54:28 +01:00
KatolaZ
b5a6808f6a little change in sysconf (avoid to remove /boot/initrd.img ) 2016-06-12 17:13:56 +01:00
parazyd
4e7a9971cf
add option to install qemu, fix bootstrap mount calls 2016-06-09 16:59:18 +02:00
parazyd
084f7a8f70
fstypes when partitioning raw image 2016-06-09 11:43:59 +02:00
parazyd
bc7cfb1ad9
overridable bootloader; optional extra packages 2016-06-09 11:43:26 +02:00
parazyd
4cc939bb48
fstab; fixes 2016-06-09 10:15:57 +02:00