Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Calamares needs changes before it can install a buildiso (Read 1552 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Calamares needs changes before it can install a buildiso

from "unpackfs.conf" found in "/usr/share/calamares/modules/"
Code: [Select]
#   -   source: "/path/to/filesystem.sqfs"
#       sourcefs: "squashfs"
#       destination: ""

# You can list more than one filesystem.
#
#   -   source: "/path/to/another/filesystem.img"
#       sourcefs: "ext4"
#       destination: ""
#

# You can list filesystem source paths relative to the Calamares run
# directory, if you use -d (this is only useful for testing, though).
    -   source: ./example.sqfs
        sourcefs: squashfs
        destination: ""


running calamares results in a error message that "/home/artix/example.sqfs" can't be found.
It needs to be commented out in the above file.
After this is done calamares says there are no squashfs files.
The solution to this is to change the above file to read
Code: [Select]
   -   source: '/run/artix/bootmnt/artix/x86_64/rootfs.sfs'
       sourcefs: "squashfs"
       destination: ""

   -   source:  '/run/artix/bootmnt/artix/x86_64/desktopfs.sfs'
       sourcefs: "squashfs"
       destination: ""


Re: Calamares needs changes before it can install a buildiso

Reply #1

The solution to this is to change the above file to read



No, no, no, calamares in live session is configured in /etc/calamares/modules overriding /usr/share/calamares.

Re: Calamares needs changes before it can install a buildiso

Reply #2
Tried Again Today and first got the "/home/artix/example.sqfs"  file can't be found commented this out and this is the next error

Code: [Select]
15:13:38 [1]: Job "unpackfs" (doc) -> "Unsquash filesystem." 
15:13:38 [1]: Python Error:
 <class 'TypeError'>
 'NoneType' object is not iterable
 File "/usr/lib/calamares/modules/unpackfs/main.py", line 284, in run
    for entry in job.configuration["unpack"]:
 
15:13:38 [0]: Installation failed:
15:13:38 [0]: - message: "Boost.Python error in job \"unpackfs\"."
15:13:38 [0]: - details: "<div><strong>&lt;class 'TypeError'&gt;</strong></div><div>'NoneType' object is not iterable</div><div><br/>Traceback:</div><div><pre>File &quot;/usr/lib/calamares/modules/unpackfs/main.py&quot;, line 284, in run\n    for entry in job.configuration[&quot;unpack&quot;]:</pre></div>"

Found the error if you use build iso or perhjaps just choosing no in netinstall /etc/calamares/modules is not fully populated and one of the missing ones is unpackfs

Just checked and it a buildiso error yes /no on netinstall has no effect

Re: Calamares needs changes before it can install a buildiso

Reply #3
Yes I just added "unpackfs" file from the Lxqt iso to my buildiso after it had booted to the live desktop.
Note the "unpackfs" is the only file missing and I am pleased to report everthing is working now many thanks.