Pedro Filipe
1c5a181593
Change default ALPINE_BRANCH branch to v3.10
2019-08-14 22:29:53 +02:00
Alex Gaines
a3462e896b
Ensure that /usr/sbin /usr/bin /sbin /bin is in PATH
...
Arch Linux does not have /bin or /sbin in PATH by default, so the script
fails to execute extlinux, update-extlinux, mkfs.* etc.
2019-08-14 22:24:55 +02:00
Jakub Jirutka
ea6dcfe635
Change default ALPINE_BRANCH branch to v3.9
2019-02-05 17:15:53 +01:00
Jakub Jirutka
180de0d818
Release version 0.4.0
2018-09-16 19:44:32 +02:00
Jakub Jirutka
5f34e1c93c
Update apk-tools to 2.10.1
2018-09-16 18:53:41 +02:00
Jakub Jirutka
aa55b71a9c
Explicitly set bind mounts' propagation type to private
...
If I understand it correctly, the default propagation type is private,
but f**king systemd mounts everything as shared. This is especially
problematic when doing recursive bind, which is not our case, but still
better to explicitly set propagation to private anyway.
See: https://lwn.net/Articles/689856/ , https://lwn.net/Articles/690679/
2018-09-16 18:13:12 +02:00
Jakub Jirutka
27b5a7e2d0
Add options --branch and --mirror-uri
...
Resolves #3
2018-09-09 23:13:22 +02:00
Jakub Jirutka
9357e9dd66
Embed Alpine keys for x86_64 into the script
...
Resolves #3
2018-09-09 22:38:18 +02:00
Jakub Jirutka
30c8b67c6c
Release version 0.3.0
2018-06-27 00:42:59 +02:00
Jakub Jirutka
df0af96210
License: Update year
2018-06-27 00:42:10 +02:00
Jakub Jirutka
73e3595694
Update example repositories to v3.8
2018-06-26 15:49:58 +02:00
Jakub Jirutka
c48b06d2c2
Add cgroups to sysinit runlevel when available
...
See https://github.com/alpinelinux/aports/pull/3886
2018-06-26 15:47:10 +02:00
Jakub Jirutka
f0d2580af3
Install linux-virt by default if available, fallback to virthardened
2018-06-26 15:36:37 +02:00
Jakub Jirutka
12ee2de4c6
Update apk-tools link to 2.10.0
2018-06-26 15:23:05 +02:00
Jakub Jirutka
fc36d1b8e7
Release version 0.2.2
2018-03-30 23:29:31 +02:00
Jakub Jirutka
9453e17006
Update apk-tools link to 2.9.1
2018-03-30 23:22:27 +02:00
Jakub Jirutka
86e3340c0a
Makefile: Declare "install" as PHONY and sort targets
2017-11-15 13:18:59 +01:00
Jakub Jirutka
f106daf12b
Add Makefile
2017-11-11 18:03:22 +01:00
Jakub Jirutka
bbce54cf55
Move repository to alpinelinux org
2017-10-22 16:59:00 +02:00
Jakub Jirutka
14033a86af
Readme: Add section Creating Image for VMware (ESXi)
2017-10-22 16:55:00 +02:00
Jakub Jirutka
0a4e4a572f
Readme: Update version and checksum
2017-10-18 02:20:44 +02:00
Jakub Jirutka
1440040838
Release version 0.2.1
2017-10-16 17:43:33 +02:00
Jakub Jirutka
9d8b1a5d83
Improve qemu-nbd performance, use cache=writeback
2017-10-16 17:06:33 +02:00
Jakub Jirutka
6ed09223de
Readme: Fix typo in tip
2017-10-13 19:10:30 +02:00
Jakub Jirutka
b8bc13c3d0
Fix check of realpath to not print path to console
2017-10-13 15:24:36 +02:00
Jakub Jirutka
18c59486c3
Readme: Add tip for alpine-chroot-install
2017-10-11 21:56:03 +02:00
Jakub Jirutka
d883b19ca6
Readme: Improve preamble
2017-10-11 21:42:43 +02:00
Jakub Jirutka
c61c6b0e9e
Travis: Remove before_script with "modprobe nbd"
2017-10-11 21:34:49 +02:00
Jakub Jirutka
1da8290b14
Readme: Add link to alpinelinux.org
2017-10-11 21:33:53 +02:00
Jakub Jirutka
8fbab94a88
Readme: Add requirement for Linux system
2017-10-11 21:30:32 +02:00
Jakub Jirutka
a91dfcd57d
Release version 0.2.0
2017-10-11 21:18:58 +02:00
Jakub Jirutka
2cf1399572
Add some doc comments
2017-10-11 21:10:49 +02:00
Jakub Jirutka
bdde467433
Disable -e inside cleanup()
2017-10-11 21:05:25 +02:00
Jakub Jirutka
84d01a86c3
Remove unnecessary "-n" inside [ ... ]
2017-10-11 21:03:11 +02:00
Jakub Jirutka
7b64749745
Travis: Run script directly on host system w/o alpine-chroot-install
2017-10-11 20:50:40 +02:00
Jakub Jirutka
c50b9100a1
Fix incorrect usage of $@
...
"$@" works differently on ash and dash. `foo="$@"` assigns only the
first item (according to IFS) to the variable on dash.
2017-10-11 20:50:40 +02:00
Jakub Jirutka
fb0ad9b107
Fix error when cleanup is called before nbd_dev is set
2017-10-11 20:50:40 +02:00
Jakub Jirutka
5059118e8c
Use "readlink -f" if realpath command is not available
2017-10-11 20:50:40 +02:00
Jakub Jirutka
b71a6e448b
Add support for downloading apk-tools if not available on host
2017-10-11 20:50:40 +02:00
Jakub Jirutka
fa87e36f9c
Run "extlinux --install" inside chroot, not on host
2017-10-11 20:50:40 +02:00
Jakub Jirutka
61790283f5
Install packages on host system only if it's Alpine
2017-10-11 20:50:40 +02:00
Jakub Jirutka
ac501b16fa
Make attach_image() more robust
2017-10-11 20:50:40 +02:00
Jakub Jirutka
d9070c4379
Do not discard blocks on NBD image when creating FS
...
It's useless for NBD image and probably causes the following error:
> Formatting image to ext4
mke2fs 1.43.4 (31-Jan-2017)
Discarding device blocks: 4096/1310720 failed - I/O error
2017-10-11 20:50:10 +02:00
Jakub Jirutka
3f25533136
Release version 0.1.0
2017-09-09 00:10:52 +02:00
Jakub Jirutka
b706b24fe5
Allow to redefine APK variable and add APK_OPTS
2017-09-08 23:57:20 +02:00
Jakub Jirutka
e5b6e1baa0
Readme: Add content
2017-08-30 00:54:42 +02:00
Jakub Jirutka
3a558beef6
Set up Travis CI to build example image
2017-08-30 00:53:42 +02:00
Jakub Jirutka
91ed2961c6
Add alpine-make-vm-image script
2017-08-30 00:36:39 +02:00
Jakub Jirutka
3f4031272f
Prepare project
2017-08-29 20:01:51 +02:00
Jakub Jirutka
36ea253ea9
Initial commit
2017-08-29 20:01:41 +02:00