Bug 28432 - Installer aufräumen
Installer aufräumen
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 3.1
All Linux
: P5 normal (vote)
: ---
Assigned To: Installer maintainers
:
Depends on: 28264
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-07 16:01 CEST by Philipp Hahn
Modified: 2017-08-08 07:09 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2012-09-07 16:01:48 CEST
+++ This bug was initially created as a clone of Bug #28264 comment #1 +++

Im Installer wird an einigen Stellen die aktuell verwendete Kernelversion
geprüft (z.B. 2.6.X). Mit UCS 3.1 bringen wir jetzt einen Kernel aus der
3.X-Reihe mit. Der Installer sollte dahingehen geprüft und angepasst werden.

...

installer/modules/kernel-2.4
installer/modules/kernel-2.6:
Werden noch installiert aber nicht mehr verwendet, können entfernt werden

installer/sys-devices.sh:
→ Wird nicht mehr verwendet, kann weg

Das ist ein böser Fehler drin:
> # >= 2.6.30
> if [ "$kmajor" -ge 6 -a "$kminor" -ge 30 ]; then
> 	sysfs2630 $bus $type
> # >= 2.6.19
> elif [ "$kmajor" -ge 6 -a "$kminor" -ge 19 ]; then
> 	sysfs2619 $bus $type
> fi

# echo $kversion 
3.2.0
# echo $kmajor 
2
# echo $kminor 
0
Die offiziellen Kernel-Bezeichnungen aus linux/Makefile lauten ürbigens:
VERSION = 3
PATCHLEVEL = 2
SUBLEVEL = 0

→ Es sollte am besten komplett gelöscht werden.



installer/usb-device.sh
installer/modules/15_profile.py
installer/modules/65_partition.py:

Hier werden ein paar Abfragen gemacht aber das funktioniert noch alles
(usb-device.sh ohne Paramter, funktioniert [15_profile.py], bzw wird mit 2.6
als Parameter aufgerufen, was mit dem aktuellen 3.2 Kernel auch funktioniert
[15_profile.py])

→ Zumindest 3.x erwähnen.


# find -name \*.DISABLED -delete


# ucslint | wc -l → 166
W:0009-5: has_key
S:0009-7: None comparison
Comment 1 Stefan Gohmann univentionstaff 2014-02-18 21:29:38 CET
This issue has been filed against the UCS version "unstable" which does not really exist. Please change the version value.
Comment 2 Stefan Gohmann univentionstaff 2017-06-16 20:39:12 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 3 Stefan Gohmann univentionstaff 2017-08-08 07:09:57 CEST
This issue has been filed against UCS 3.1.

UCS 3.1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.