summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2016-05-26Correct syslinux/extlinux mbr.bin pathKristian Klausen
Fix #773833
2016-05-26Revert "Correct syslinux mbr.bin path."Kristian Klausen
This reverts commit 5161dcdf3bb50a8be7385f86fdfc60b0eb700bfa.
2016-01-05Better handle empty package lists.Raphaël Hertzog
The fix in a294a46fb9fe28e43686b18da7b22ec1c46b0d4f was not enough. This should finally resolve the problem when a package list ends up empty (most notably due to #if evaluating to false). Sponsored-By: Offensive Security
2015-12-15Remove 586 flavour for i386 architecture. (Closes: #807972)Ben Armstrong
2015-12-15scripts/build/binary_hdd: Fix code styleMaximilian Mehnert
2015-09-23Old BIOS: start partition at specific placeMaximilian Mehnert
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.
2015-09-23force link creation when diverting flash-kernelMaximilian Mehnert
"ln -s /bin/true chroot/usr/sbin/flash-kernel" fails if the target already exists.
2015-08-30Loopback cfg support.Adrian Gibanel Lopez
Development details -------------------- * This patch has been based originally on: binary_grub2 . It has been improved thanks to some binary_syslinux bits. * This patch ensures that binary_loopback_cfg needs is run before binary_syslinux is run. The reason is that it reuses some code from binary_syslinux to avoid problems when binary_syslinux renames the kernel filenames. * This patch already supports CPU detection * I haven't tested all the possible scenarios for the script (with the latest version). When amd64 and 486 Gnu/Linux flavours is used and the bootloader is syslinux it works ok. * I have not implemented a disable switch for not generating it. Usually you always want loopback.cfg to be there. * Compared to binary_grub2 script I have removed the installation entries because I did not see any of them in binary_syslinux. How to test ----------- These are some steps to easily test if Looback cfg support is working ok. 0) We assume you have generated an iso 1) Make sure you have a partition that Grub understands. Plain ext4 or vfat should do it. 2) Create directory: /boot/boot-isos/ 3) Put the iso file into that directory making sure it has an ISO or iso extension. 4) Setup your computer to boot from cdrom and use: Super Grub2 Disk 2.00s2 (Hybrid version recommended) 5) Choose Boot manually... 6) Choose Bootable ISOs (in /boot- ... ) 7) Choose (the detected) GRUB Loopback Config (hdN,msodsN)/boot/boot-ios/name-of-the.iso 8) You will be presented your loopback.cfg. Choose anyone of the entries (unless it does not match your cpu architecture of course). 9) You should boot into your Debian Live without problems (thanks to findiso boot parametre). If you ever wanted to test from your grub2 installation instead from Super Grub2 Disk check: http://www.supergrubdisk.org/wiki/Loopback.cfg for an example.
2015-08-29Multi bootloader supportAdrian Gibanel Lopez
Note: OLDIFS use makes IFS to be reset to "" instead to it being unset. Either we need to detect if old IFS was unset to unset it or we need a proper way of setting it as a local variable. Even more IFS it's not currently used in Check_package (which it's called from: binary_hdd). we should have a clean way of resetting/unsetting IFS when calling Check_package. The other approach it's to explicitly define IFS with its default value in the places inside live-build code where we implicitly suppose that it's going to have its default value.
2015-08-27Adding missing file extension to hdd images.Carlos Zuferri
2015-08-10Correct syslinux mbr.bin path.Maximilian Mehnert
2015-08-10Updating stat calls to also give the right result in container setups, ↵Daniel Baumann
thanks to Kristian Klausen <klausenbusk@hotmail.com> (Closes: #789300).
2015-08-10Getting rid of hard-coded release numbers and using /etc/os-release instead ↵Daniel Baumann
(Closes: #790860). Unfortunately VERSION_ID on testing/unstable is currently not included in /etc/os-release, see #795124.
2015-07-26Fix check for presence of chroot hooksDaniel Reichelt
2015-07-15Drop elilo from list of d-i required packages on i386.Raphaël Hertzog
It's gone from unstable/testing and has never been really useful on non-ia64 systems.
2015-06-24Do not pass an empty version in APT::FTPArchive::Release::Version (Closes: ↵Raphaël Hertzog
#789800). This avoids live-build triggering an apt-ftparchive bug (#693092).
2015-06-15Correcting typos in chroot_hooks.Daniel Baumann
2015-06-05Removing parent-directory too when cleaning up the config tree bind mount in ↵Daniel Baumann
chroot.
2015-06-05Correcting execution of local source hooks.Daniel Baumann
2015-06-05Correcting execution of local binary hooks.Daniel Baumann
2015-06-05Correcting symlinking of hooks in lb config.Daniel Baumann
2015-05-23Installing apt and dpkg updates (if any) first in derivatives mode, then ↵Daniel Baumann
doing dist-upgrade.
2015-05-20Splitting non-live specific hooks into their own subdirectory within hooks.Daniel Baumann
2015-05-18Correcting leftover reference to binary_grub in binary.Daniel Baumann
2015-05-14Removing broken samhain handling (Closes: #785264).Daniel Baumann
2015-05-04Dropping obsolete template checks within grub helpers.Daniel Baumann
2015-05-04Renaming grub helper to grub-legacy for consistency.Daniel Baumann
2015-05-04Renaming grub2 helper to grub-pc for later grub-efi addition.Daniel Baumann
2015-05-03Dropping support for upstart.Daniel Baumann
Ubuntu switched to systemd too, no point in keeping upstart support arround anymore.
2015-05-03Dropping automagics for ubuntu.Daniel Baumann
Future live-build versions will still allow to use casper, but its configuration will be done differently by a custom config tree, rather than embedded and maintenance intensive code in live-build itself.
2015-05-03Dropping automagics for casper.Daniel Baumann
Future live-build versions will still allow to use casper, but its configuration will be done differently by hooks in the config tree, rather than embedded and maintenance intensive code in live-build itself.
2015-05-02Moving hooks to hooks/live, both in live-build sources and live-build configs.Daniel Baumann
Really soon live-build will support building non-live images out-of-the-box. Therefore moving hooks into a live specific subdirectory.
2015-04-29Moving grub and grub2 templates into shared bootloader config directory.Daniel Baumann
2015-04-28Overwriting reather than appending content of autorun.inf (Closes: #777359).Daniel Baumann
2015-04-28Calling lb config in lb build to support building a all-default-image with a ↵Daniel Baumann
simple lb build (Closes: #778327).
2015-04-28Correcting wrong tar command for tarball images, thanks to Yadickson Soto ↵Daniel Baumann
<yadickson@gmail.com> (Closes: #780627).
2015-04-27Removing temporary hack to exclude prism2-usb-firmware-installer, the ↵Daniel Baumann
download homepage seems to work again (Closes: #783433).
2015-02-07Applying patch from jnqnfe <jnqnfe@gmail.com> to correct grub2 bootloader ↵Daniel Baumann
directory within the binary images (Closes: #775316).
2015-02-07Using same logic to create the source/.disk/archive_trace for ↵Daniel Baumann
binary/.disk/archive_trace too (Closes: #774200).
2015-01-26Switching to default to linux-image-586 on i386.Daniel Baumann
2015-01-25Using -iso-level 3 option for xorriso to work with image sizes beyond 4 GB ↵Daniel Baumann
(Closes: #775424).
2015-01-25Correcting typo in stagefile check for includes.chroot.Daniel Baumann
2015-01-07Adding check for isolinux build-depends in chroot.Daniel Baumann
2015-01-05Removing spurious .grep.swp temporary file in source tree.Daniel Baumann
2015-01-04Updating year in copyright notices to 2015.Daniel Baumann
2015-01-04Dropping manual include of dbus for live-config-systemd, it's a recommends now.Daniel Baumann
2015-01-04Correcting dependency checks in binary_package-lists (Closes: #774336).Daniel Baumann
2015-01-04Applying slightly modified patch from jnqnfe <jnqnfe@gmail.com> to show ↵Daniel Baumann
correct win32-loader ico file on windows (Closes: #772781).
2015-01-04Dropping some sparc leftovers (Closes: #774196).Daniel Baumann
2015-01-04Adding wget dependency in chroot_firmware.Daniel Baumann