[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#950380: RFS: makebootfat/1.4-7 [QA] [RC] -- Utility to create a bootable FAT filesystem



On Fri, Jan 31, 2020 at 10:28:46PM +0100, Håvard Flaget Aasen wrote:
>  * Package name    : makebootfat
>    Version         : 1.4-7

> Changes since the last upload:
> 
>    * QA upload.
>    * d/control
>      - Drop Vcs fields
>      - Update Standards-Version to 4.5.0
>    * d/rules disable upstream test closes: #933105
>      - Test needs the file /etc/mtab which doesn't exist.

The test is actually valid, and it's good that it's failing.

/etc/mtab has been long obsolete, and:
* debootstrap doesn't create it at install time
* systemd 228 dropped any compat
* modular rc systems (via /etc/init.d/checkroot.sh) create a compat symlink
  but it's never handled beyond that, at least on Linux

The program fails at runtime if it can't access /etc/mtab .

Lets instead patch the source to change /etc/mtab to /proc/mounts (aka
/proc/self/mounts).


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ The ill-thought conversion to time64_t will make us suffer from
⣾⠁⢠⠒⠀⣿⡁ the Y292B problem.  So let's move the Epoch by 435451400064000000
⢿⡄⠘⠷⠚⠋⠀ (plus a safety margin in case of bad physicists) and make it
⠈⠳⣄⠀⠀⠀⠀ unsigned -- that'll almost double the range.


Reply to: