Discussion:
How to add new install class?
Jack Ngo
2014-12-03 08:18:45 UTC
Permalink
Hi everyone,

I create a new install class (ex: asianux.py) in pyanconda/installclasses/

I changed it same as centos.py (but I use defaultFS="ext4" to test
changes). After that I use git command to add it and create updates.img
$ git add pyanaconda/installclasses/asianux.py
$ ./scripts/makeupdates -t anaconda-19.31.79-1

But when I create partition "/", it use xfs not ext4.

This is my asianux.py: http://pastebin.com/hhBPsTn2

What did I miss or wrong? Please help me.

Thank you very much !!!

P/S: I can change source code in exist files and testing is ok, but when I
add new install class, it's not.
Radek Vykydal
2014-12-03 10:33:54 UTC
Permalink
Hi, you need to raise sortPriority of your class to be higher
then that of rhel.py which is 20000.
Post by Jack Ngo
Hi everyone,
I create a new install class (ex: asianux.py) in pyanconda/installclasses/
I changed it same as centos.py (but I use defaultFS="ext4" to test
changes). After that I use git command to add it and create updates.img
$ git add pyanaconda/installclasses/asianux.py
$ ./scripts/makeupdates -t anaconda-19.31.79-1
But when I create partition "/", it use xfs not ext4.
This is my asianux.py: http://pastebin.com/hhBPsTn2
What did I miss or wrong? Please help me.
Thank you very much !!!
P/S: I can change source code in exist files and testing is ok, but
when I add new install class, it's not.
_______________________________________________
Anaconda-devel-list mailing list
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Jack Ngo
2014-12-04 02:06:40 UTC
Permalink
Oh, I got it. Thanks Radek Vykydal.
Post by Jack Ngo
Hi everyone,
I create a new install class (ex: asianux.py) in pyanconda/installclasses/
I changed it same as centos.py (but I use defaultFS="ext4" to test
changes). After that I use git command to add it and create updates.img
$ git add pyanaconda/installclasses/asianux.py
$ ./scripts/makeupdates -t anaconda-19.31.79-1
But when I create partition "/", it use xfs not ext4.
This is my asianux.py: http://pastebin.com/hhBPsTn2
What did I miss or wrong? Please help me.
Thank you very much !!!
P/S: I can change source code in exist files and testing is ok, but when I
add new install class, it's not.
Loading...