Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: robin0800 on 15 January 2018, 21:12:31

Title: Calamares needs changes before it can install a buildiso
Post by: robin0800 on 15 January 2018, 21:12:31
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: ""

Title: Re: Calamares needs changes before it can install a buildiso
Post by: artoo on 16 January 2018, 11:03:34

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.
Title: Re: Calamares needs changes before it can install a buildiso
Post by: robin0800 on 16 January 2018, 16:22:15
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
Title: Re: Calamares needs changes before it can install a buildiso
Post by: robin0800 on 16 January 2018, 18:33:34
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.