summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2017-12-20disk partition alignmentJoey Hess
Cheap flash drives need partitions aligned to 4 MiB in order to not be slow (and to avoid extra writes). <https://lwn.net/Articles/428584/> And at least 1 MiB alignment is generally a good idea, and most people seem to think 4 MiB is for all drives. I noticed that Parted.partitioned does not do that; the first partition started at an offset of 1 MB, and subsequent partitions from where it ends. (The 1 MB offset came from the PartedVal PartSize instance, and note that it was not 1 MiB.) * Parted: Add an Alignment parameter. (API change) A good default to use is safeAlignment, which is 4MiB, well suited for inexpensive flash drives, and fine for other disks too. Previously, a very non-optimial 1MB (not 1MiB) alignment had been used. * DiskImage: Use safeAlignment. It didn't seem worth making the alignment configurable here. Alignment is implemented by offsetting the first partition's start position so it's aligned (making sure to leave room for the partition table). Each partition is then extended as needed so the next partition will start properly aligned. Note that parted rejects partition tables that don't fit in cylinder bounderies. Before, propellor let parted deal with the fine details of layout, so that was not a problem. Now it's possible to set some wacky Alignment not divisible by 512, or use Byte sizes for partitions and create a partition table that parted rejects. But, using safeAlignment and MegaBytes should always be safe. Also, this fixes a rounding bug in Parted.calcPartTable. It was rounding up to the nearest MegaByte when allocating remaining disk space, so returned partition table that was actually larger than the disk size. This commit was sponsored by an anonymous bitcoiner.
2017-12-20Parted: Fix names used for FAT and VFAT partitions.Joey Hess
Use "fat32" for both; these are not distinguished at the partition table level. This commit was sponsored by Henrik Riomar on Patreon.
2017-11-29bootstrappedFrom: Set up local privdata file.Joey Hess
Avoid needing to --spin host deployed from disk image to let its propellor access its privdata. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2017-11-23releasing package propellor version 5.1.0Joey Hess
2017-11-21merged sbuild overhaulJoey Hess
2017-11-20note another API change in changelogSean Whitton
2017-11-19Merge branch 'master' of https://git.joeyh.name/git/propellor into ↵Sean Whitton
sbuild-overhaul
2017-11-19releasing package propellor version 5.0.0Joey Hess
2017-11-19partition table in InfoJoey Hess
Diskimage.imageBuiltFor: New property to build a disk image for a Host, using partition table information configured via the new properties hasPartitionTableType, hasPartition and adjustPartition. This lets Machine properties include eg /boot partitions that are known to be needed by the bootloader, and the user can adjust those partitions and add others. This commit was sponsored by Brock Spratlen on Patreon.
2017-11-19Merge branch 'master' of https://git.joeyh.name/git/propellor into ↵Sean Whitton
sbuild-overhaul
2017-11-18changelog for sbuild changes thus farSean Whitton
2017-11-17Service: Avoid starting services when noServices is used.Joey Hess
Reconsidered making services never run inside chroots, that seemed too potentially limiting. Using Info rather than checking policy-rc.d because it will also work outside of debian, but more because policy-rc.d has an extremely complicated interface and I didn't want to deal with it. This commit was sponsored by Jochen Bartl on Patreon.
2017-11-17propellor spinJoey Hess
2017-11-17don't start services in chrootsJoey Hess
Service: Changed to use invoke-rc.d rather than service for starting services. This notably means that in chroots, services will not be started. This seems like the right thing to do, because running services inside a chroot is problimatic. Use a real container system for running services. Fixes the problem that, when building a disk image, using eg, Apt.servicesInstalledRunning caused the service to be started in the chroot, even though a policy-rc.d was in place to prevent it, because the "service" command does not check policy-rc.d. This commit was sponsored by John Peloquin on Patreon.
2017-11-16Uboot: New module.Joey Hess
Installing u-boot to the boot sector is not needed by some boards (my CubieTruck boots without it), but may be by others. Tricky part was making u-boot be written to a disk image when building one. This commit was sponsored by Jake Vosloo on Patreon.
2017-11-16Machine: New moduleJoey Hess
Machine-specific properties for ARM boards are being collected here See http://linux-sunxi.org/Mainline_Debian_HowTo and https://wiki.debian.org/InstallingDebianOn/Allwinner and https://wiki.debian.org/DebianKernel/ARMMP Currently has 2 arm boards that I use. This commit was sponsored by Anthony DeRobertis on Patreon.
2017-11-16flash-kernel supportJoey Hess
Can be used to create disk images for arm boards using flash-kernel. This commit was sponsored by Ewen McNeill.
2017-11-16Debootstrap.built now supports bootstrapping chroots for foreign OS'sJoey Hess
This commit was sponsored by Ethan Aubin.
2017-11-12changelog for mergeJoey Hess
2017-11-11Added Propellor.Property.impossibleJoey Hess
2017-11-02Add Typeable instance to OriginUrl, fixing build with old versions of ghc.Joey Hess
2017-10-25releasing package propellor version 4.9.0Joey Hess
2017-10-25Make addInfo accumulate Info in order properties appear, not reverse orderJoey Hess
This fixes a bug involving reverting Systemd.resolvConfed or Systemd.linkJournal. addInfo was prepending to the list for efficiency. But, that was in conflict with mappend of two Info, which appended the second to the first. In the case where Systemd.resolvConfed was added reverted, to override the one added by default, that led to a list of info that had first the reversion and then the default, so the default won. Which was wrong. So, make addInfo accumulate in the same order mappend combines things, even though it's a little less efficient. The efficiency probably does not matter; there is not typically a whole lot of info. There's some risk this change has unexpected consequences, if something relied on the old addInfo order without using fromInfo to access to info. But if so, that something would have been broken before when two Info properties were combined. With this change, it would just be broken the other way around. This commit was sponsored by Jochen Bartl on Patreon.
2017-10-25changelog for mergeJoey Hess
2017-10-15merged pull requestJoey Hess
2017-10-04override deploy url with PropellorRepo.hasOriginUrl infoJoey Hess
* Made the PropellorRepo.hasOriginUrl property override the repository url that --spin passes to a host. * PropellorRepo.hasOriginUrl type changed to include HasInfo. (API change) This commit was sponsored by Jake Vosloo on Patreon.
2017-10-04get deps back in syncJoey Hess
propellor currently still embeds concurrent-output, so the debian package does not need to depend on the library.
2017-10-04avoid propagating non-alias DNS info from container to hostJoey Hess
* When the ipv4 and ipv6 properties are used with a container, avoid propagating the address out to the host. * DnsInfo has been replaced with DnsInfoPropagated and DnsInfoUnpropagated. (API change) * Code that used fromDnsInfo . fromInfo changes to use getDnsInfo. * addDNS takes an additional Bool parameter to control whether the DNS info should propagate out of containers. (API change) This commit was sponsored by Trenton Cronholm on Patreon.
2017-09-25releasing package propellor version 4.8.1Joey Hess
2017-09-25Borg: Fix handling of UseSshKey.Joey Hess
2017-09-25Borg: Fix propigation of exit status of borg backup.Joey Hess
2017-09-25releasing package propellor version 4.8.0Joey Hess
2017-09-25Merge branch 'joeyconfig'Joey Hess
2017-09-25expand BorgRepo, allowing ssh private key to be specifiedJoey Hess
* Borg: Converted BorgRepo from a String alias to a data type. (API change) * Borg: Allow specifying ssh private key to use when accessing a borg repo by using the BorgRepoUsing constructor with UseSshKey. This commit was sponsored by Jeff Goeke-Smith on Patreon.
2017-09-25Apt.isInstalled: Fix handling of packages that are not known at all to apt.Joey Hess
getInstallStatus returns [] when passed only such packages, and all of that list == IsInstalled. So also check that the list contains every package queried.
2017-09-05updateJoey Hess
2017-09-01Make lock file descriptors close-on-exec.Joey Hess
2017-08-25Attic: Fix broken shell escaping in attic cron job.Joey Hess
Didn't see this one fail, or test this, but it had exactly the same code as borg.
2017-08-25Borg: Fix broken shell escaping in borg cron job.Joey Hess
2017-08-24DiskImage type classJoey Hess
* DiskImage: Made a DiskImage type class, so that different disk image formats can be implemented. The properties in this module can generate any type that is a member of DiskImage. (API change) (To convert existing configs, convert the filename of the disk image to RawDiskImage filename.) * Removed DiskImage.vmdkBuiltFor property. (API change) Instead, use VirtualBoxPointer in the property that creates the disk image. This commit was sponsored by Jack Hill on Patreon.
2017-08-23releasing package propellor version 4.7.7Joey Hess
2017-08-23Add Typeable instance to Bootstrapper, fixing build with old versions of ↵Joey Hess
ghc. (Previous attempt was incomplete.)
2017-08-23move unrelased part of changelogJoey Hess
2017-08-23Merge branch 'master' into joeyconfigJoey Hess
2017-08-22deprecate attic and obnamJoey Hess
* Attic module is deprecated and will warn when used. Attic is no longer available in Debian and appears to have been mostly supersceded by Borg. * Obnam module is deprecated and will warn when used. Obnam has been retired by its author. Keeping the modules in propellor for now; propellor supports debian oldstable which still has attic in it, and obnam is not gone yet. This commit was sponsored by Francois Marier on Patreon.
2017-08-04Locale: Display an error message when /etc/locale.gen does not contain the ↵Joey Hess
requested locale.
2017-08-01releasing package propellor version 4.7.6Joey Hess
2017-08-01Locale: Make sure that the locales package is installed when enabling locales.Joey Hess
2017-08-01Sbuild: Add Sbuild.userConfig property. Thanks, Sean WhittonJoey Hess
2017-08-01releasing package propellor version 4.7.5Joey Hess