summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-09Repo moved to salsaSteve McIntyre
2017-12-21Failsafe entries rework at binary_loopback_cfgAdrian Gibanel Lopez
[hertzog@debian.org: - Fix conflicts due to renamed variables ] Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
2017-12-21Fix handling of multiple kernels in binary_loopback_cfgAdrian Gibanel Lopez
Now grub.cfg shows all the kernel options. Before this patch when you had more than two kernels it only showed the auto option. Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
2017-12-21Updated binary_loopback_cfg so that it uses Stretch's 686 kernel instead of ↵Adrian Gibanel Lopez
old 486 one. [hertzog@debian.org: Also rename the variables for consistency. ] Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
2017-12-07Prepare release to unstabledebian/1%20171207Raphaël Hertzog
2017-11-20Fix the way the .disk/mkisofs file is createdRaphaël Hertzog
Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch. Closes: #881941
2017-11-20Don't fail when initramfs is not usedBalint Reczey
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
2017-11-20Use $SOURCE_DATE_EPOCH when updating timestamps of manual pagesRaphaël Hertzog
This makes the package reproducible at build time. Closes: #879169
2017-09-20Prepare for releasedebian/1%20170920Raphaël Hertzog
2017-09-18Replace "kirkwood" and "orion5x" armel flavors with the new "marvell" oneRaphaël Hertzog
As done by the linux source package since its version 4.4.
2017-09-01Handle hardlinks in binary_hddMatthijs Kooijman
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.
2017-09-01Add changelog entryRaphaël Hertzog
2017-09-01Check all dependencies independent of LB_BUILD_WITH_CHROOTMatthijs Kooijman
Since commit fdc9250bc (Changing package dependency checks within chroot to work outside as well), Check_package automatically checks for LB_BUILD_WITH_CHROOT and works inside as well as outside of the chroot, so no need to check LB_BUILD_WITH_CHROOT before calling them. Install_package and Remove_package are just a no-op when building without chroot, so they can also be called unconditionally. Restore_cache and Save_cache do not check LB_BUILD_WITH_CHROOT but it it should not hurt to call them when not needed (which already happened in some cases). This commit makes all Check_package calls unconditional on LB_BUILD_WITH_CHROOT. For binary_syslinux, this fixes the check (which used outdated paths outside the chroot since 7b6dfd9d1), for binary_grub-efi, binary_package-lists and chroot_package-lists this simplifies the code (but also causes the check to become package-based instead of file-based on apt-based systems), and for binary_loadlin and binary_win32-loader this adds the check outside the chroot which was previously missing.
2017-09-01Error out when needed packages are missing on the hostMatthijs Kooijman
Previously, Check_package would only show an error when host packages are missing on a non-apt system. On apt system, the packages would be added to _LB_PACKAGES, which causes them to be installed in the chroot, not in the host (or not at all if Install_package is not called). This behaviour could break the build. This applies to either packages that must be present in the host (as checked with `Check_package host ...`), as well as packages that can be either in the chroot or host (as checked with `Check_package chroot`) when LB_BUILD_WITH_CHROOT=false.
2017-09-01Pass --partscan to losetupMatthijs Kooijman
Recent versions of Linux, parted or some other bit of software cause partition devices, like /dev/loop0p1 to be created when running parted mkpart. However, these devices are not cleaned up when running losetup -d to remove /dev/loop0 later, so they linger around and confuse mkfs (which refuses to make a filesystem, thinking there are partitions): mkfs.fat 4.1 (2017-01-24) mkfs.vfat: Partitions or virtual mappings on device '/dev/loop0', not making filesystem (use -I to override) To prevent this behaviour, pass --partscan to losetup when adding a new partition, to clean up any lingering partitions. It seems losetup does not accept --partscan when deleting a loop device, to clean up at that point, but since binary_hdd mounts the partition last, there should not be any lingering partition devices after live-build is done. The --partscan option is available since util-linux 2.21 (released in 2012), so it should be fairly safe to pass it unconditionally.
2017-08-29Update changelogRaphaël Hertzog
2017-08-29Auto-update version strings in manual pages.Raphaël Hertzog
2017-08-29Fix version strings in manual pagesRaphaël Hertzog
2017-08-29Update PREPARER data for consistencyRaphaël Hertzog
2017-08-29Prepare release to unstabledebian/1%20170829Raphaël Hertzog
2017-08-29Drop all references to live-systems.org and update copyright fileRaphaël Hertzog
Also fix the version string in the manual pages. Closes: #859290
2017-08-29Initialize /etc/default/locale with LANG=C.UTF-8Raphaël Hertzog
That way we always have a valid UTF-8 locale even when we don't have the "locales" (or "locales-all") package installed.
2017-08-10Add .disk/mkisofs file recording the xorriso command lineRaphaël Hertzog
Thanks to Thomas Schmitt <scdbackup@gmx.net> for the suggestion.
2017-08-07Prepare release to unstabledebian/1%20170807Raphaël Hertzog
2017-08-07Drop the --hardlinks option from xorriso command line callRaphaël Hertzog
2017-06-09Add keyboard shortcut on the "Advanced options" syslinux menu entryRaphaël Hertzog
Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch. Closes: #864386
2017-02-13Prepare release to unstabledebian/1%201702131.2.9-S1cruxRaphaël Hertzog
2017-02-13Drop the versatile kernel flavour on armel. It's no longer built since Linux ↵Raphaël Hertzog
4.9.
2016-12-16Prepare release to unstabledebian/1%20161216Raphaël Hertzog
2016-12-16Fix english mistakes in lb_config(1)Raphaël Hertzog
2016-12-16Minor updates to lb_config and its manual pageRaphaël Hertzog
* Update the manual page with the missiong --bootappend-live-failsafe option. * Keep supporting the former --bootloader (without s).
2016-12-14Cleanup binary_loopback_cfg and offer more freedom in overriding the default ↵Raphaël Hertzog
grub-pc configuration.
2016-12-02Prepare release to unstabledebian/1%20161202Raphaël Hertzog
2016-12-02Drop check on configuration versionRaphaël Hertzog
The date based versioning scheme no longer allows such a check. And we don't intend to break backwards compatibility for now.
2016-12-02Clean up grub configuration codeRaphaël Hertzog
* Use only long kernel names. * Put advanced options in a submenu. * Use distro-agnostic labels. * Don't generate entries with kernel version when we have a single version.
2016-12-02Instead of renaming kernel for syslinux, create hardlinksRaphaël Hertzog
2016-12-02Fix version of live-build that is displayed by lb --versionRaphaël Hertzog
Now we generate the VERSION file at install time or at package build time.
2016-12-02Default for LB_UNION_FILESYSTEM is now "overlay" just like in live-boot.Raphaël Hertzog
2016-12-02Drop useless code in binary_grub-pcRaphaël Hertzog
2016-12-02Drop useless code in binary_grub-efiRaphaël Hertzog
2016-12-02Use a grub theme that integrates reasonably well with the current background ↵Raphaël Hertzog
picture.
2016-11-28Bump version to 20161128Raphaël Hertzog
2016-11-28Fix lintian warning about bad whatis entryRaphaël Hertzog
2016-11-28Bump Standards-Version to 3.9.8.Raphaël Hertzog
2016-11-28Fix permission on functions/bootloaders.shRaphaël Hertzog
2016-11-28Fix dh_link not working as expectedRaphaël Hertzog
2016-11-28Bump debhelper compat level to 10.Raphaël Hertzog
2016-11-28Small cleanup of debian/rulesRaphaël Hertzog
2016-11-28Fix Check_installed function when checking against hostRaphaël Hertzog
Thanks to jnqnfe for the report. Closes: #774807
2016-11-28Drop gpgv and debian-keyring from SuggestsRaphaël Hertzog