pfichtner-freetz icon indicating copy to clipboard operation
pfichtner-freetz copied to clipboard

fakeroot not working using ubuntu-22.04 (pfichtner-freetz release 0.3.0+)

Open pfichtner opened this issue 2 years ago • 1 comments

fakeroot using ubuntu-22.04 (this only applies to "$FREETZ_AVM_HAS_UDEV" != "y" devices and thus little amount)

STEP 3: PACK
  checking for left over version-control-system files
  integrate freetz info file into image
packing var.tar
rootdir=build/modified/filesystem
table='/workspace/tools/device.table'
makedevs: line 25: can't create node dev/mem: Operation not permitted
makedevs: line 26: can't create node dev/kmem: Operation not permitted
makedevs: line 27: can't create node dev/null: Operation not permitted
makedevs: line 28: can't create node dev/zero: Operation not permitted
makedevs: line 29: can't create node dev/random: Operation not permitted
[...]

(when switching to pseudo build runs fine)

while fakeroot using ubuntu-20.04 did work

STEP 3: PACK
  checking for left over version-control-system files
  integrate freetz info file into image
packing var.tar
creating filesystem image (SquashFS3-lzma)
  SquashFS block size: 64 kB (65536 bytes)
[...]

Problem does only occurs when rebuilding the tools! Using the ("cached") ubuntu20 based built tools it also works using ubuntu22 (make tools-dirclean to force rebuild of tools)

pfichtner avatar Dec 26 '22 16:12 pfichtner

we upgraded to ubuntu24, does the problem still occur?

pfichtner avatar Mar 28 '25 09:03 pfichtner