Skip to content

Instantly share code, notes, and snippets.

@bjackman
Created October 4, 2024 13:52
Show Gist options
  • Save bjackman/c04b6b1e52650668ef06c0d1631815c5 to your computer and use it in GitHub Desktop.
Save bjackman/c04b6b1e52650668ef06c0d1631815c5 to your computer and use it in GitHub Desktop.
❯❯ cat mkosi.local.conf
[Distribution]
Distribution=debian
❯❯ ~/src/mkosi/bin/mkosi -f qemu
‣ Setting CacheDirectory should be configured in [Build], not [Output].
‣ Setting BuildDirectory should be configured in [Build], not [Output].
‣ Setting WithNetwork should be configured in [Build], not [Content].
‣ Setting BuildSources should be configured in [Build], not [Content].
‣ Setting Incremental should be configured in [Build], not [Host].
‣ Setting ToolsTree should be configured in [Build], not [Host].
‣ Setting ToolsTreePackages should be configured in [Build], not [Host].
‣ Setting BuildSources should be configured in [Build], not [Content].
‣ Setting BuildSources should be configured in [Build], not [Content].
‣ /usr/local/google/home/jackmanb/src/mkosi-kernel/mkosi.cache/debian~testing~x86-64.cache does not exist, not reusing cached images
‣ Removing cache entries of default image…
‣ /usr/local/google/home/jackmanb/src/mkosi-kernel/mkosi.cache/debian~testing~x86-64.cache does not exist, not reusing cached images
‣ Syncing package manager metadata
Hit:1 http://deb.debian.org/debian testing InRelease
Hit:2 http://security.debian.org/debian-security testing-security InRelease
Hit:3 http://deb.debian.org/debian-debug testing-debug InRelease
Hit:4 http://deb.debian.org/debian testing-updates InRelease
Reading package lists... Done
‣ Copying repository metadata
Traceback (most recent call last):
File "/usr/local/google/home/jackmanb/src/mkosi/mkosi/sandbox.py", line 860, in <module>
File "/usr/local/google/home/jackmanb/src/mkosi/mkosi/sandbox.py", line 825, in main
File "/usr/local/google/home/jackmanb/src/mkosi/mkosi/sandbox.py", line 455, in execute
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
[Previous line repeated 4 more times]
File "<frozen os>", line 225, in makedirs
OSError: [Errno 30] Read-only file system: 'newroot/usr/local/google'
‣ "cp --recursive --no-dereference --preserve=mode,links,timestamps,ownership,xattr --reflink=auto --copy-contents '/work/usr/local/google/home/jackmanb/.cache/mkosi/debian~testing~x86-64/cache/apt' '/work/usr/local/google/home/jackmanb/src/mkosi-kernel/mkosi.cache/debian~testing~x86-64.metadata.cache/cache/apt' --no-target-directory" returned non-zero exit code 1.
❯❯ findmnt --target $PWD
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mapper/glinux_20200923-root ext4 rw,relatime,errors=remount-ro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment