Commit Graph

270 Commits

Author SHA1 Message Date
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
Jaromil
fcf4c8459c make .done check non-empty to conform with ckreq 2016-06-08 23:19:39 +02:00
parazyd
03f780a409
aptautostart function
Add function for enabling or disabling autostart of services when apt installs
them. To be called outside of a chroot and executed inside one
2016-06-08 22:33:10 +02:00
Jaromil
166e164ab0 correct detect that debootstrap finished 2016-06-08 22:35:34 +02:00
Jaromil
bee1288827 iso also does usr squashfs 2016-06-08 22:34:32 +02:00
parazyd
bdb94f314f
drop a file to signal complete bootstrap 2016-06-08 21:59:01 +02:00
parazyd
dd6f741ed6
documentation updates 2016-06-08 21:54:15 +02:00
parazyd
695e767a14
raw image builds; grub+kernel 2016-06-08 21:45:28 +02:00
parazyd
0188ebbeaf
Merge branch 'master' of git.devuan.org:sdk/libdevuansdk 2016-06-08 21:35:25 +02:00
Jaromil
39b97cf330 dropped escalate from iso 2016-06-08 21:20:11 +02:00
Jaromil
c292c13b2f iso correctly booting kernel and initrd
also enabled all isolinux extensions and the rosh
2016-06-08 21:18:54 +02:00
parazyd
9e6fd1988b
drop escalate wrapper 2016-06-08 21:07:08 +02:00
Jaromil
ca24af741a progress on iso making
also more configs and kernel install helper
2016-06-08 19:44:00 +02:00
parazyd
0cd0716190
dos mbr sizes 2016-06-08 18:53:10 +02:00
Jaromil
daae74bc00 initial iso packing 2016-06-08 18:55:22 +02:00
parazyd
25052a6a9a
img_ namespace fix 2016-06-08 18:33:33 +02:00
parazyd
4e4f10ef42
raw image operations 2016-06-08 18:29:00 +02:00
parazyd
3c3d59f4c2
change namespace 2016-06-08 17:29:32 +02:00
parazyd
9ea7593400
cleanup created ssh keys upon finish 2016-06-08 17:07:07 +02:00
Jaromil
044eb279e1 various fixes for smooth operation
also translatable string formatting
2016-06-08 16:48:46 +02:00
parazyd
70568c2357
base system bootstrap 2016-06-08 15:33:54 +02:00