[1] Archiv / MLD 3.x / General / Git <> Make Clean (clean_all)
 

Offline P3f

  • Administrator
  • Expert Member
  • ********
  • Posts: 1461
    • View Profile
Git <> Make Clean (clean_all)
« on: March 11, 2012, 14:11:07 »
Hallo,

ich habe eine Frage zur eigenen Develumgebung...

Wenn man ein "make clean" in einem Addonverzeichnis macht, so wird ja das Paket sehr gut gelöscht. Allerdings bleibt immer im src-Verzeichnis (des Addons) die ursprüngliche Verlinkung. Somit wird nicht das aktuellste (git-)Repository geladen, wenn man wieder baut.

Beispiel:
Quote
root@Pit-Linux:~/build/MLD/xineliboutput# cd src/
root@Pit-Linux:~/build/MLD/xineliboutput/src# ls -l
insgesamt 16
-rw-r--r-- 1 root root  841 2012-01-08 14:14 10_xineliboutput_mld.patch
-rw-r--r-- 1 root root  444 2012-03-04 18:21 11_xineliboutput_xinelib.patch
drwxr-xr-x 3 root root 4096 2012-03-11 14:01 locale
lrwxrwxrwx 1 root root   24 2012-03-09 19:23 xineliboutput -> xineliboutput-2012.03.09
drwxrwxr-x 8 root root 4096 2012-03-11 14:01 xineliboutput-2012.03.09
lrwxrwxrwx 1 root root   39 2012-03-09 19:16 xineliboutput.tgz -> /root/.mld/xineliboutput-2012.03.09.tgz
root@Pit-Linux:~/build/MLD/xineliboutput/src# cd ..
root@Pit-Linux:~/build/MLD/xineliboutput# make clean
sed: kann ../../../config.h nicht lesen: Datei oder Verzeichnis nicht gefunden
Makefile:97: ********************************************************
Makefile:98: VDR not detected ! VDR plugins will not be compiled.   
Makefile:99: ********************************************************
sed: kann ../../../config.h nicht lesen: Datei oder Verzeichnis nicht gefunden
Makefile:97: ********************************************************
Makefile:98: VDR not detected ! VDR plugins will not be compiled.   
Makefile:99: ********************************************************
root@Pit-Linux:~/build/MLD/xineliboutput# ls -l src
insgesamt 16
-rw-r--r-- 1 root root  841 2012-01-08 14:14 10_xineliboutput_mld.patch
-rw-r--r-- 1 root root  444 2012-03-04 18:21 11_xineliboutput_xinelib.patch
drwxr-xr-x 3 root root 4096 2012-03-11 14:02 locale
lrwxrwxrwx 1 root root   24 2012-03-09 19:23 xineliboutput -> xineliboutput-2012.03.09
drwxrwxr-x 8 root root 4096 2012-03-11 14:02 xineliboutput-2012.03.09
lrwxrwxrwx 1 root root   39 2012-03-09 19:16 xineliboutput.tgz -> /root/.mld/xineliboutput-2012.03.09.tgz

Erst wenn ich im src-Verzeichnis manuell die Links (alle 3 xineliboutput's) dann wird auch neu vom git-Repository geladen.

Ein Löschen der /root/.mld/xineliboutput* bringt nichts, da hier wieder die Dateien vom 9.3.2012 (um beim Beispiel zu bleiben) geladen werden.

Ich denke, das das Verhalten beim "make clean_all" genauso ist... :rolleyes:

Kann man das besser machen, oder ist es ein Denkfehler von mir?

Gruß,

Pit
----------------------------------------------------------------------
VDR 1:(MLD 6.5-64), ZOTAC ION ITX F-E, 1GB 1033, ATRIC-Einschalter, ImonLCD, Cinergy S2 HD
VDR 2 MLD 5.4-BPI: BananaPI | 16 GB SD-Card | MLD 5.3 in Entwicklung
MLD-WTK: WeTek-Play | 8 GB MicroSD-Card | MLD 5.3 als SatIP-Server

Offline MarMic

  • Administrator
  • Expert Member
  • ********
  • Posts: 4822
    • View Profile
Git <> Make Clean (clean_all)
« Reply #1 on: March 11, 2012, 14:26:07 »
was macht ein make clean_src?
SZVDR HD: Intel e5300@1,2ghz - Gigabyte GA-EP41-UD3L - 2GB ddr2 800 - Gainward G210 512mb - Silverstone LC16MR - DVBSky S952 - Astra 19,2 - MLD 5.4

WZVDR HD: Intel g1610@1,6ghz - Intel DH61BE - Scythe Big Shuriken 2 - 4GB ddr3 1333 - Asus GT610 1024mb - Chieftec Hi-Fi HM-02 - Tevii s480 - Astra 19,2 - MLD 5.4


Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20313
    • View Profile
    • ClausMuus.de
Git <> Make Clean (clean_all)
« Reply #2 on: March 11, 2012, 19:43:00 »
Das löscht das source Archiv im .mld Ordner.

Ich werde das aber als eine meiner nächsten Aktionen überarbeiten, damit nen "make clean" den src Ordner aufräumt.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

[1] Archiv / MLD 3.x / General / Git <> Make Clean (clean_all)
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.