]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Fix wrong type to link_output 282/head
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 6 Nov 2018 08:25:36 +0000 (00:25 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 6 Nov 2018 15:48:16 +0000 (07:48 -0800)
commit788c0af4b94f19855b939107e4f2fd471d3a6b7b
treec747a09e28ce9dd5b5b2e3e6404cd9fe7eeabcb4
parent16012135fd9be447a0c812639feed5e9663d47ed
Fix wrong type to link_output

$ sudo mkosi --default /dev/null -d fedora -r 29 -t directory -p dnf
...
Traceback (most recent call last):
  File "/bin/mkosi", line 3959, in <module>
    main()
  File "/bin/mkosi", line 3949, in main
    build_stuff(args)
  File "/bin/mkosi", line 3809, in build_stuff
    link_output(args, workspace, raw or tar)
  File "/bin/mkosi", line 2478, in link_output
    os.rename(os.path.join(workspace, "root"), args.output)
  File "/usr/lib64/python3.7/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not TemporaryDirectory
mkosi