LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices

Reply
 
Search this Thread
Old 03-31-2005, 03:23 PM   #1
Dosnerd90
LQ Newbie
 
Registered: Mar 2005
Location: Parkersburg WV, USA
Distribution: OpenSUSE 10.3 86x_64
Posts: 15

Rep: Reputation: 0
Question upgrade questions


I was just wondering, can I upgrade the linux kernel and/or slackware to their latest version and still have 100% compatiblity with Amigo?
 
Old 04-01-2005, 03:18 PM   #2
nycace36
Member
 
Registered: Feb 2004
Location: SFBayArea, CA
Distribution: Debian-based, Slackware 10x+
Posts: 139

Rep: Reputation: 15
Reviewed this question and just checked past forum threads.
Two quick things to check out :
1) gnashley's reply to skruf_man's September 21st, 2004 forum thread 'Amigo software packages'
2) Possibility of investigating Slackware's zipslack, as in skruf_man's reply to predator.hawks's October 11th, 2004 forum thread 'Just how was AMIGO Developed?'

-nycace36
 
Old 04-02-2005, 02:46 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,750

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
SOory for not pitching in on this right away, I'm moving this month...
Here's the low-down:
Amigo makes a few slight changes in the init scripts and various configuration files in /etc and /usr/share.
So, in order to preserve the Amigo hwsetup stuff you should not upgrade the aaa_base, aaa_elf-libs, etc, or init packages. You should never upgrade or remove the aaa_ packages anyway. There are very few changes in the init scripts anyway(for slack 10-10.1), mostly dealing with compatibility with kernel 2.6.x series. You can create the new /sys dir manually. Amigo 2.0 makes no changes to /etc/rc.d/rc.S nor to rc.M or rc.6. rc.modules and rc.local are setup to handle Amigo's init.
Amigo 1.0 and 2.0 don't do anything that is incompatible with slackware, but upgrading or re-installing the above packages could overwrite some amigo helper files and configurations. Much of the 'friendliness' is done through pre-set preferences and confiurations.
Amigo HWSETUP only writes 3 configuration files:
/etc/fstab (ever see such a pretty fstab before?)
/etc/X11/XF86Config (used to be a real black-art..),
and sometimes /etc/rc.d/rc.netdevice
/etc/sysconfig is a directors not found in standard slackware, where 'hwsetup' stores its' files. /etc/sysconfig/amigo may show some hardware such as modems, printers ISDN cards, etc. Anything on the PCI, serial, parallel, or PS/2 busses and ports should be found and identified. The amigo scripts do not automatically set these up though. Te lo dejo de tarea... I'll leave you that as homework...

In /etc/rc.d/rc.local you'll see a 'hook' which looks for a dummy file, /root/firstrun. If this 'flag' file exists, then before login the hwsetup program is run. When hwsetup finishes it assumes blindly that configuration succeeded, and removes the flag file.

Using this flag, plus another trick, will allow you to re-configure your machine's hardware, or if you have installed mobile someway, you can keep your installations config file clean and ready to run like new on any machine. The other trick is to use 'pristine'. This is a script I wrote which cleans up what hwsetup does, restoring the current installation to a pristine (clean) condition.
This can be done completely without rebooting, but it will work better if you do.
So, step 1: Exit the GUI with an oredrly shutdown from your favorite window manager, or do it the fast way: hit <CTRL>+<ALT>+<BACKSPACE> together. that should leave on the command line.
2: be sure you are logged in as 'root' (unmount any temporary mounts you have not in fstab), then type:
/usr/lib/amigosetup/pristine
3: Now reboot and you'll see Amigo HWSETUP run at the end of rc.local, just before login -remember?

As I said, you could run it directly without shutting down. Instead of rebooting (step 3), type this:
/usr/lib/amigosetup/firstrun
This wont do quite as good a job though as rebooting.

The setup routines will run under slack 10 and 10.1, as you have them.
Your XF86Config file will work fine under XORG (instead of XFREE86), just change the name from 'XF86Config' to 'xorg.conf'.

Are you wanting to compile your own kernel, or install from package?

Last edited by gnashley; 04-02-2005 at 02:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some before-I-upgrade questions knobdy Suse/Novell 5 10-24-2005 11:56 AM
questions after upgrade of RH 7.3 ergo_sum Linux - Newbie 2 05-03-2005 12:08 PM
Questions regarding upgrade to 2.6.2 blockme Debian 4 02-19-2004 08:20 AM
Upgrade questions saxophobe Linux - Newbie 2 11-26-2003 08:00 AM
Distro Upgrade Questions wrc1944 Linux - Software 1 10-15-2002 08:47 AM


All times are GMT -5. The time now is 07:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration