[Wish] Add support for Ubuntu Server

Bug #1743177 reported by Cubic PPA
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
High
Cubic PPA
Classic-development
Fix Released
High
Cubic PPA
Release-2018-07-34
Fix Released
High
Cubic PPA

Bug Description

Cubic doesn't support Ubuntu Server.

Revision history for this message
tim elston (timmah) wrote :

+1 - Require support for custom server iso's

Currently get the error "Warning! you are in NOT the chroot environment. Exiting!"

Revision history for this message
Joe Carey (indepndnt) wrote :

Hi! The problem seems to be with Cubic's assumption that the squashed filesystem is in a folder named "casper". In the Ubuntu Server iso, the folder is named "install".

I posted an explanation of how I fixed the problem for myself here: https://askubuntu.com/a/1010733/800716

A good permanent solution might be to make `casper/` an editable parameter and check for the existence of the folder before continuing. The chroot command fails because the squashfs folder does not exist because the unsquashfs command couldn't find the source file.

Revision history for this message
Doug Breshears (o-doug-5) wrote :

I made changes to the utilites.py and transitions.py files for the following..

1) Change the default 'casper' directory name to a function call which determines the directory name.
2) Add initrd.gz possibility for server iso's
3) Check if filesystem.manifest-remove file exists before enumerating the contents.

This seems to work for me so I have included the patch file as a solution.

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Thanks Doug. I'll take a look at this.

Changed in cubic:
status: New → Confirmed
assignee: nobody → Cubic PPA (cubic-wizard)
Cubic PPA (cubic-wizard)
Changed in cubic:
importance: Undecided → Medium
Cubic PPA (cubic-wizard)
Changed in cubic:
status: Confirmed → In Progress
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

The fix for this bug is currently in the *Development* branch.

You can test it by doing the following:

    # Remove Cubic
    $ sudo apt autoremove --purge cubic

    # Remove the *Release* repository
    $ sudo apt-add-repository --remove ppa:cubic-wizard/release

    # Add the *Development* repository
    $ sudo add-apt-repository ppa:cubic-wizard/development

    # Install the *Development* version of Cubic
    $ sudo apt update
    $ sudo apt install cubic

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Fix released to "trunk" revision 112.
Fix released to "release" revision 24.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.