<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/scripts/build/binary_hdd, branch stretch-backports</title>
<subtitle> (mirror of https://github.com/vyos/vyos-live-build.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-live-build.git/atom?h=stretch-backports</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=stretch-backports'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2018-02-14T17:49:36+00:00</updated>
<entry>
<title>Fix Check_package invocation in binary_hdd for ntfs-3g</title>
<updated>2018-02-14T17:49:36+00:00</updated>
<author>
<name>Raphaël Hertzog</name>
<email>hertzog@debian.org</email>
</author>
<published>2018-02-14T17:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=96e73960b3e64bae81294250e5ad531212ef0ac1'/>
<id>urn:sha1:96e73960b3e64bae81294250e5ad531212ef0ac1</id>
<content type='text'>
/sbin/mkfs.nfts -&gt; /sbin/mkfs.ntfs
</content>
</entry>
<entry>
<title>Handle hardlinks in binary_hdd</title>
<updated>2017-09-01T08:29:20+00:00</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2017-08-29T12:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=72ca3bcb2062fe5cceb4ae9b3855568aaaa7275d'/>
<id>urn:sha1:72ca3bcb2062fe5cceb4ae9b3855568aaaa7275d</id>
<content type='text'>
To generate an hdd image, binary_hdd first estimates the needed size of
the image using du. By default, when du finds multiple hardlinked copies
of a file, it counts them only once. However, when the target filesystem
is FAT, which does not support hardlinks, these files will take up more
space when finally copying the contents, breaking the build:

	P: Copying binary contents into image...
	cp: error writing 'chroot/binary.tmp/live/initrd.img-4.9.0-3-amd64': No space left on device
	cp: error writing 'chroot/binary.tmp/efi/boot/bootx64.efi': No space left on device
	cp: error writing 'chroot/binary.tmp/efi/boot/bootia32.efi': No space left on device
	cp: cannot create directory 'chroot/binary.tmp/boot/grub': No space left on device
	cp: cannot create directory 'chroot/binary.tmp/isolinux': No space left on device

To fix this, pass --count-links to du when the target is FAT, to make
the space estimation correct.

This problem is exposed by commit 9c974b26b (Instead of renaming kernel
for syslinux, create hardlinks), which might need to be separately fixed
(to not waste space on FAT targets), but binary_hdd should at least
handle hardlinks more gracefully.
</content>
</entry>
<entry>
<title>Added new multi bootloader helper functions</title>
<updated>2016-07-31T13:08:11+00:00</updated>
<author>
<name>Adrian Gibanel Lopez</name>
<email>adrian.gibanel@btactic.com</email>
</author>
<published>2016-01-18T03:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=9d1a983cc8fe12966d1a2c24a6ee0cfb419b3ce5'/>
<id>urn:sha1:9d1a983cc8fe12966d1a2c24a6ee0cfb419b3ce5</id>
<content type='text'>
* Added: functions/bootloaders.sh . This file adds bootloader functions that are heavily used in efi scenarios where a bootloader can act as a first or an extra bootloader.

Since the introduction of the new switch:

--bootloaders

you can setup it like this:

--bootloaders=syslinux,grub-efi

.

This means that syslinux is the first bootloader and grub-efi is the extra bootloader.

* Added new bootloader functions: Check_Non_First_Bootloader and Check_Non_Extra_Bootloader.

These functions let each one of the bootloaders abort the build because
they cannot perform a role either as a first bootloader or as an extra bootloader.

* Added bootloader functions: Check_First_Bootloader_Role, Check_Extra_Bootloader_Role and Check_Any_Bootloader_Role

These functions let bootloaders to force their default role in a single line.

At the same time many binary bootloaders were rewritten to make use of the new bootloader role functions explained above.

These roles were enforced:

binary_grub-legacy : First bootloader
binary_grub-pc : Either first or extra bootloader
binary_syslinux : Either first or extra bootloader

If a bootloader is tried to be used in a role that it's not meant to be used then the build fails because that might lead to a non-bootable system.
</content>
</entry>
<entry>
<title>Remove repeated LB_PRIMARY_BOOTLOADER definition</title>
<updated>2016-07-31T12:59:33+00:00</updated>
<author>
<name>Adrian Gibanel Lopez</name>
<email>adrian.gibanel@btactic.com</email>
</author>
<published>2016-01-19T23:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=0624064d44ed811aec5c43fabfd7b928688ed8e1'/>
<id>urn:sha1:0624064d44ed811aec5c43fabfd7b928688ed8e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable EXT4 64bit features</title>
<updated>2016-06-18T17:36:16+00:00</updated>
<author>
<name>Kristian Klausen</name>
<email>klausenbusk@hotmail.com</email>
</author>
<published>2016-06-17T21:14:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=489a09ba92328cef846598a15329e9ff91519e3c'/>
<id>urn:sha1:489a09ba92328cef846598a15329e9ff91519e3c</id>
<content type='text'>
e2fsprogs 1.43 enabled ext4 "64bit" feature as default, which broke ext4
HDD images as EXTLINUX doesn't support it.
</content>
</entry>
<entry>
<title>Correct syslinux/extlinux mbr.bin path (second try)</title>
<updated>2016-05-26T19:26:36+00:00</updated>
<author>
<name>Kristian Klausen</name>
<email>klausenbusk@hotmail.com</email>
</author>
<published>2016-05-26T19:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=a8cc7084279116870bc0e37e0836ac7e1f5b780a'/>
<id>urn:sha1:a8cc7084279116870bc0e37e0836ac7e1f5b780a</id>
<content type='text'>
dash doesn't support parameter expansion it seems.
So implemented with "tr" as in binary_syslinus.
</content>
</entry>
<entry>
<title>Correct syslinux/extlinux mbr.bin path</title>
<updated>2016-05-26T15:34:22+00:00</updated>
<author>
<name>Kristian Klausen</name>
<email>klausenbusk@hotmail.com</email>
</author>
<published>2016-05-26T15:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=ddc6659002b751e3eea0ca42bb22e52279cc4288'/>
<id>urn:sha1:ddc6659002b751e3eea0ca42bb22e52279cc4288</id>
<content type='text'>
Fix #773833
</content>
</entry>
<entry>
<title>Revert "Correct syslinux mbr.bin path."</title>
<updated>2016-05-26T15:33:20+00:00</updated>
<author>
<name>Kristian Klausen</name>
<email>klausenbusk@hotmail.com</email>
</author>
<published>2016-05-26T15:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=090c6f3ceaef0c344b822063012c08c1e50fba88'/>
<id>urn:sha1:090c6f3ceaef0c344b822063012c08c1e50fba88</id>
<content type='text'>
This reverts commit 5161dcdf3bb50a8be7385f86fdfc60b0eb700bfa.
</content>
</entry>
<entry>
<title>scripts/build/binary_hdd: Fix code style</title>
<updated>2015-12-15T13:59:49+00:00</updated>
<author>
<name>Maximilian Mehnert</name>
<email>maximilian.mehnert@gmx.de</email>
</author>
<published>2015-09-23T08:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=2c118b384c8b14f96e3a60160e90399c71a1b103'/>
<id>urn:sha1:2c118b384c8b14f96e3a60160e90399c71a1b103</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Old BIOS: start partition at specific place</title>
<updated>2015-09-23T08:48:46+00:00</updated>
<author>
<name>Maximilian Mehnert</name>
<email>maximilian.mehnert@gmx.de</email>
</author>
<published>2015-07-16T07:58:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=46920d22bd3a31241baa504bc178343c760a4812'/>
<id>urn:sha1:46920d22bd3a31241baa504bc178343c760a4812</id>
<content type='text'>
Some BIOSes dont't boot from partitions starting at sector 1024.
Some are even more peculiar and only start from sector 63.
This patch adds an option for the binary_hdd target to manually
configure the partition start.
</content>
</entry>
</feed>
