scubuntu-dev team mailing list archive
-
scubuntu-dev team
-
Mailing list archive
-
Message #00003
Re: scubuntu ubiquity development update
I am having trouble integrating our original scubuntu additions.
I am now also extending the GTK classes. I am following the Mythbuntu
approach.
But our changes are a bit different from theirs.
I cannot get our select screen to display. I am busy debugging this.
The other approach will be to use our existing code and then add the
"new" code to create our own /cdrom/casper/filesystem.manifest-desktop
that includes and copies over selected scientific packages.
For more detail on the approach read below:
Installation
------------
The actual installation takes place by copying the read-only part of the
live filesystem. The writable part of the live filesystem (i.e. the
running
live session) is intentionally not copied, to ensure maximum
reproducibility
of the installed system. Thus, any customisations applied by the live
boot
process must be re-applied after the read-only filesystem is copied. The
live boot process is responsible for installing hooks in
/usr/lib/ubiquity/target-config/ to take care of this.
After copying the live filesystem, certain unnecessary packages (such as
Ubiquity itself) will be removed. The set of packages to be removed is
computed by taking those packages present in
/cdrom/casper/filesystem.manifest but not present in
/cdrom/casper/filesystem.manifest-desktop, and removing any packages
explicitly requested for installation by installer code. Language packs
for
languages which are not to be supported on the installed system will
also be
removed.
Logs of the installation will be saved in /var/log/syslog (for messages
emitted by Ubiquity itself and messages emitted by d-i code), and
/var/log/partman (for a trace of the operation of the automatic
partitioner). /var/log/syslog and /var/log/partman are saved in
/var/log/installer/ on the installed system.
============================================================
This is the suggested modifications(meta code) and methods involved:
generate_manifest():
cache = apt.cache.Cache()
list = []
list.append(our_selected_metapackages)
index = 0
while index < len(list):
#cache['gedit'].installedDependencies[2].or_dependencies[0].version
dep =
cache['gedit'].candidateDependencies.or_dependencies[0]
if list !contain (dep):
list.append((dep.name,dep.version))
"return list"
Use it in:
generate_blacklist
get_remove_list
(remove_extras install_extras etc)
copy_all
Cleaner option?
call record_installed(self, pkgs)
with our list
Kindly
Pieter
On Wed, 2009-02-18 at 13:06 +0200, Pieter van Zyl wrote:
> Good day,
>
> I have changed our code to extend the GTK gui class. This is the same
> approach taken by Mythbuntu.
>
> Because our code is now not embedded in the gtk gui class we need to
> build a deb file: ubiquity-frontend-scubuntu.
>
> I have build the deb.
>
> Just testing it at the moment.
>
> I am first trying to get this to work before I add our new suggested
> modifications.
>
> Kindly
> Pieter
>
>
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
References