Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Risorse italiane (documentazione e tools)
  • Search

[HowTo] Crearsi package binari di backup del sistema

Forum riservato alla documentazione in italiano.

Moderator: ago

Post Reply
  • Print view
Advanced search
34 posts
  • Previous
  • 1
  • 2
Author
Message
Scen
Retired Dev
Retired Dev
User avatar
Posts: 2470
Joined: Tue Jul 29, 2003 9:44 am
Location: Padova, Italy
Contact:
Contact Scen
Website

  • Quote

Post by Scen » Tue Jan 31, 2006 5:26 pm

Siccome il semplice ma efficace script di Fonderia mi è servito in molti casi, e visto che il comando qpkg è deprecato, riesumo il topic e aggiorno il comando da usare per creare i pacchetti binari di tutto il software installato.

N.B. PREREQUISITO IMPORTANTE:

Code: Select all

emerge portage-utils
[/b]

Code: Select all

for i in `qlist -CIv` ; do if [ ! -f /usr/portage/packages/All/`echo $i | sed "s/^.*\///"`.tbz2 ]; then quickpkg =$i; fi; done
Spero che a qualcuno possa servire :)
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Top
X-Drum
Advocate
Advocate
User avatar
Posts: 2517
Joined: Sun Aug 24, 2003 6:48 pm
Location: ('Modica','Trieste','Ferrara') Italy
Contact:
Contact X-Drum
Website

  • Quote

Post by X-Drum » Fri Feb 03, 2006 10:59 am

sempre per lo stesso motivo (qpkg oltre ad essere deprecato sta sparendo da gentoolkit)
ho rimangeggiato lo script di fonderia per usare equery che è gia' contenuto
nel pacchetto:

Code: Select all

* app-portage/gentoolkit
     Available versions:  0.2.0 0.2.0-r3 0.2.1 ~0.2.2_pre2
     Installed:           0.2.1
     Homepage:            http://www.gentoo.org/proj/en/portage/tools/index.xml
     Description:         Collection of administration scripts for Gentoo

Code: Select all

for i in `equery -C l | cut -d " " -f 1` ; do if [ ! -f /usr/portage/packages/All/`echo $i | sed "s/^.*\///"`.tbz2 ]; then quickpkg =$i; fi; done
"...There are two sort of lies, lies and benchmarks..."
Top
hellraiser
Guru
Guru
User avatar
Posts: 431
Joined: Sat Jun 14, 2003 12:08 pm
Location: Pescara [Italy]

  • Quote

Post by hellraiser » Wed Feb 22, 2006 11:35 pm

Nessuno ha mai pensato di uploadare i pacchetti creati su un server FTP come backup e magari cosi usarlo come PACKAGE_SERVER ?
Io non sono nessuno...ma nessuno è come me!

"Open Source is a good idea..."
Top
X-Drum
Advocate
Advocate
User avatar
Posts: 2517
Joined: Sun Aug 24, 2003 6:48 pm
Location: ('Modica','Trieste','Ferrara') Italy
Contact:
Contact X-Drum
Website

  • Quote

Post by X-Drum » Thu Feb 23, 2006 1:04 am

hellraiser wrote:Nessuno ha mai pensato di uploadare i pacchetti creati su un server FTP come backup e magari cosi usarlo come PACKAGE_SERVER ?
se ne è gia' parlato altrove: il problema consiste nell'etereogenerà delle USE Flags nonchè delle CFLAGS
presenti nei pacchetti creati/uploadati dai vari utenti...

una cosa del genere è fattibile a patto che si utilizzino i medesimi settaggi nonche' snapshot di chi serve
i pacchetti, questo almeno per il momento
"...There are two sort of lies, lies and benchmarks..."
Top
hellraiser
Guru
Guru
User avatar
Posts: 431
Joined: Sat Jun 14, 2003 12:08 pm
Location: Pescara [Italy]

  • Quote

Post by hellraiser » Thu Feb 23, 2006 7:51 am

no forse non mi hai capito...io intendevo un FTP per me...che faccia da backup e quindi volendo da PACKAGE HOST...

Si infatti, se si vorrebbe fare un Package Host per tutti, è un po difficile la cosa...in quanto come dicevi tu...dipende dalle USE con cui sono stati compilati/creati i package...

Pero volendo, nel caso del singolo, dite che nn è una buona idea fare un backup su FTP ??
Io non sono nessuno...ma nessuno è come me!

"Open Source is a good idea..."
Top
X-Drum
Advocate
Advocate
User avatar
Posts: 2517
Joined: Sun Aug 24, 2003 6:48 pm
Location: ('Modica','Trieste','Ferrara') Italy
Contact:
Contact X-Drum
Website

  • Quote

Post by X-Drum » Thu Feb 23, 2006 10:12 am

hellraiser wrote:no forse non mi hai capito...io intendevo un FTP per me...che faccia da backup e quindi volendo da PACKAGE HOST...
[..snip..]
Pero volendo, nel caso del singolo, dite che nn è una buona idea fare un backup su FTP ??
ah! un backup per te, del tuo sistema sotto forma di grp, su un server ftp, giusto?
non capisco xche vuoi utilizzare un ftp (spero che sia in locale), in ogni caso si funzionerebbe
questo è garantito al 100%
"...There are two sort of lies, lies and benchmarks..."
Top
Luca89
Advocate
Advocate
User avatar
Posts: 2107
Joined: Wed Apr 27, 2005 12:44 pm
Location: Agrigento (Italy)

  • Quote

Post by Luca89 » Thu Feb 23, 2006 2:25 pm

Per fare un backup del sistema secondo me la migliore cosa è fare uno stage4, fare i pacchetti può essere molto utile quando si vuole installare e mantenere gentoo su tante macchine tutte uguali.
Running Fast!
Top
hellraiser
Guru
Guru
User avatar
Posts: 431
Joined: Sat Jun 14, 2003 12:08 pm
Location: Pescara [Italy]

  • Quote

Post by hellraiser » Wed Mar 01, 2006 12:47 pm

X-Drum wrote:
hellraiser wrote:no forse non mi hai capito...io intendevo un FTP per me...che faccia da backup e quindi volendo da PACKAGE HOST...
[..snip..]
Pero volendo, nel caso del singolo, dite che nn è una buona idea fare un backup su FTP ??
ah! un backup per te, del tuo sistema sotto forma di grp, su un server ftp, giusto?
non capisco xche vuoi utilizzare un ftp (spero che sia in locale), in ogni caso si funzionerebbe
questo è garantito al 100%
Si intendevo proprio questo...fare il backup su un server FTP nella LAN...qualcuno gia qualche bozza di script per permettere questo??

Appena ho tempo penso di mettermici sopra...perche mi sarebbe molto utile...

L'ideale sarebbe, che a ogni emerge crea il package e a un certo orario con cron mandarli sul server ftp...
Io non sono nessuno...ma nessuno è come me!

"Open Source is a good idea..."
Top
Ic3M4n
Advocate
Advocate
User avatar
Posts: 3489
Joined: Tue Nov 02, 2004 5:46 pm
Location: Bergamo.

  • Quote

Post by Ic3M4n » Wed Mar 01, 2006 1:59 pm

non credo che ti serva uno script...
ti basta mettere buildpkg in features nel make.conf e un comando di rsync in cron.
Top
Post Reply
  • Print view

34 posts
  • Previous
  • 1
  • 2

Return to “Risorse italiane (documentazione e tools)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic