Author Topic: Revisit Chameleon's package builder  (Read 144095 times)

0 Members and 1 Guest are viewing this topic.

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #225 on: October 25, 2011, 04:20:58 AM »
Hi!

No the idea is this... that EULA pop up coming from a test dmg also posted at Insanelymac .. dmg rev 747...

I find a good editor for the resource fork file
Resorcerer

Tiny progress :)
Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #226 on: October 26, 2011, 11:53:26 AM »
Hi Fabio

In your commit #1666, I see you've re-added the fifth parameter for the makedistribution function.
Code: [Select]
makedistribution "${1}" "${2}" "${3}" "${4}" "${5}"
I couldn't see that used anywhere so I disabled it with the intent to eventually removing it. Have I missed something?

No the idea is this... that EULA pop up coming from a test dmg also posted at Insanelymac .. dmg rev 747...
Thanks for the info.
I will start looking at the builddmg script soon. :)
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #227 on: October 26, 2011, 08:30:17 PM »
Hi Blackosx.
I readd the 5th parm. and the command rm just to preserve the folder clean when I build the pkg...
Probably is only need the rm... I do the change quickly and I no check it in deep...

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #228 on: October 29, 2011, 08:41:35 AM »
would be nice rewrite the builddmg.sh script... until now that script overwrite recently compiled content into "old" pre-made
dmg image (look into ../package/dmg/ro.dmg)
I used this way because I have problem with resouce fork (.DS_Store file) and his creation...
Hi Fabio

After a few days looking in to the best method to automatically create a disk image (dmg), I have seen, most probably, the same info you must have found where many users have in the past tried scripting the creation of one. And while a base dmg is easy to create, there is little information available when it comes to setting up icon sizes, positions and backgrounds from scratch using code.

Details of the .DS_Store file are hard to come by and I did run some tests to look at the file structure (hex) before and after making changes to a dmg to look for any clues as to what could be changed but it looks like I won't be able to do anything with it. I did find this post showing the attempt by Mark Mentovai to reverse-engineer the file but even with this I wouldn't really know where to start or even if we really should bother.

Therefore, I recommended leaving the dmg creation process to how you are currently doing it by changing the pre-made /package/dmg/ro.dmg file. We could probably reduce the template file size by including a smaller Chameleon.pkg as it's going to be replaced anyhow.

I'm not going to spend any more time on the dmg for now, and work towards finalising the package installer code from my branch ready for merging to the trunk.

Probably is only need the rm... I do the change quickly and I no check it in deep...
Yep. I forgot to uncomment the rm's. Will do that before final version.
« Last Edit: October 29, 2011, 08:44:04 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #229 on: October 30, 2011, 09:11:36 PM »
Nice work Blackosx!

 :-\ a lot of work for me to reorganize the language  :o

I delete the dmg content/stuff from the trunk (maybe in a remote future we tweak it)

For the Welcome, description an conclusion file I do the change in my branch and I will merge into trunk when I have a tiny number of language... (I prefer no increase the trunk number and do job for buildbot :P)...

As I propose @InsanelyMac maybe a poll for chose a background?
Can you propose some different Images? 5 or 10 :O

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #230 on: October 30, 2011, 11:34:31 PM »
Hi Fabio

I hope you don't think I've jumped the gun with my latest commit to the trunk, but the topic @ IM didn't result in any negative feedback, and the questions that were posted, I provided an update for. I felt that the new code was better than what was already in the trunk and was ready for inclusion. I/we can still work on it when we get time.

:-\ a lot of work for me to reorganize the language  :o
.../snip/...
For the Welcome, description an conclusion file I do the change in my branch and I will merge into trunk when I have a tiny number of language... (I prefer no increase the trunk number and do job for buildbot :P)...
Sorry about that, but hard coded text always runs the risk of needing to be updated at some point.

I wouldn't have thought it would be too much work to sort the languages as you had/have a record of who translated the text previously. Would it be possible to drop them a PM to make a translation of the latest text? The localizable.strings file should all be up to date, other than the three 'Install Type' options, which just leaves the Conclusion, Description and Welcome files. If you're happy to do that in your branch then that's fine with me.

I think there is a revised text from Tenval and Crazybirdy already but IM has been down so I haven't been able to grab them.

I delete the dmg content/stuff from the trunk (maybe in a remote future we tweak it)
It's still there now. Do you want me to delete it from the trunk?

As I propose @InsanelyMac maybe a poll for chose a background?
Can you propose some different Images? 5 or 10 :O
Don't you like my revised background?
I appreciate you created the previous one so I understand you'll probably want to stick with what was there, but to be honest, I quite like the new one so I'm slightly biased towards not changing it. However, if you want to change it, or host a poll for different styles then feel free.  :P
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #231 on: October 31, 2011, 12:43:42 AM »
No problem Blacosx!

Is just a comment/idea :)

dmg stuff removed ;)

We can remove also the package/Configuration folder??

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #232 on: October 31, 2011, 08:39:08 AM »
Yes, the Configuration folder can be removed as it's currently not used. There is already a SMBIOS.plist in the package/ folder so the SMBIOSDefault isn't really needed. And I haven't looked at the Chameleon.prefPane in a long time but I would guess it would need updating as it was over a year ago that rekursor wrote it.

I'll remove it now.
EDIT - Done.

Anything can be re-added at a later date if you want.
« Last Edit: October 31, 2011, 08:42:48 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #233 on: December 12, 2011, 04:21:24 AM »
Hello Blackosx.

You have done an exemplary job in restructuring the pkg.
Again congratulations!

We can add "SMBIOS.plist" ready to use?

like a new choice...

What do you think..?

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #234 on: December 12, 2011, 05:49:22 PM »
Hi Fabio

Thanks.
Let me know exactly what you had in mind and I'll look in to it, though I can't promise anything  :P
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #235 on: December 12, 2011, 09:24:03 PM »
Thx for reply.

It would be useful to have a selectable list of smbios.plist.
Ready to use, to be copied/overwrite during installation of the bootloader (Chameleon), in the Extra folder.
The SMBIOS would already "prepared" and based on functional SMBIOS.
example of SMBIOS list:

- MacBook2.1
- ....
- MacBookPro...
- MacBookPro8.3
- ....
- iMac....
- iMac12.2
- ....
- MacPro2,1
- MacPro3,1
- MacPro4,1
- MacPro5,1
and so on ...

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #236 on: December 14, 2011, 03:19:19 PM »
Isn't this what the SMBIOSDefaults boot option does?

If I add SMBIOSDefaults to the installer, and the user chooses to add that boot option then the bootloader should choose the best basic match for the users system, based on their CPU. I think that's how it works.

Here's the embedded defaults:
http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/i386/libsaio/smbios.c

Would this fulfil what you need?

EDIT:
Just tested and can report that SMBIOSDefaults are enabled in Chameleon by default but only used when a SMBIOS.plist is not found.
Removing my SMBIOS.plist from /Extra and rebooting in to Lion with Chameleon I see I have a MacPro4,1 settings as defined here.
The only boot option available to add then would be SMBIOSDefaults=No to turn this off.
« Last Edit: December 16, 2011, 10:41:12 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #237 on: December 23, 2011, 01:51:13 AM »
Hi all!

With latest changes into package (commit 1741)
I have some "warning" error. relate to cpio
here the log:

Code: [Select]
Last login: Fri Dec 23 00:20:42 on console
Fabio:~ iFabio$ cd /Users/iFabio/Desktop/trunk
Fabio:trunk iFabio$ make pkg
[MKDIR] /Users/iFabio/Desktop/trunk/sym
// -- -- //
SPLI SPLIT
// -- -- //
================= Making all in layouts =================
/Users/iFabio/Desktop/trunk/package/buildpkg.sh /Users/iFabio/Desktop/trunk/sym/package

  ----------------------------------
  Building Chameleon Install Package
  ----------------------------------

================= Preinstall =================
[BUILD] Pre
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Core =================
[BUILD] Core
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Chameleon =================
[BUILD] New
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Upgrade
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Chameleon =================
[BUILD] Standard
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] EFI
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] noboot
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Modules =================
[BUILD] klibc
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] AutoReso
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] uClibc
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Keylayout
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Control =================
[BUILD] BootBanner
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] GUI
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] LegacyLogo
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] InstantMenu
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] QuietBoot
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] ShowInfo
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Wait
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= General =================
[BUILD] arch
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] EHCIacquire
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] EthernetBuiltIn
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] ForceHPET
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] ForceWake
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] RestartFix
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] UHCIreset
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] UseMemDetect
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] UseKernelCache
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Wake
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= KernelFlags =================
[BUILD] Verbose
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Singleusermode
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Ignorecaches
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Npci
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Darkwake
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= PowerManagement =================
[BUILD] CSTUsingSystemIO
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] DropSSDT
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] EnableC2State
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] EnableC3State
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] EnableC4State
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] GenerateCStates
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] GeneratePStates
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Resolution =================
[BUILD] 1024x600x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1024x768x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1280x768x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1280x800x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1280x960x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1280x1024x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1440x900x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1600x900x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1680x1050x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1920x1080x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] 1920x1200x32
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Video =================
[BUILD] GraphicsEnabler
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] UseAtiROM
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] UseNvidiaROM
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] VBIOS
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Keymaps Options =================
[BUILD] mac-de
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] mac-es
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] mac-fr
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] mac-it
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] mac-se
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] pc-fr
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Themes =================
[BUILD] Bullet
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Default
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Embed
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
[BUILD] Legacy
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
================= Post =================
[BUILD] Post
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
cpio: Couldn't lookup user ``0'': No such file or directory
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/EFI.pkg/Scripts
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/Post.pkg/Scripts
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/Pre.pkg/Scripts
Error encountered while processing file : /Users/iFabio/Desktop/trunk/sym/package/Chameleon/Standard.pkg/Scripts

 --------------------------
 Building process complete!
 --------------------------

 Build info.
 ===========
  Package name: Chameleon-2.1svn-r1741.pkg
  MD5:          fd89332c2936d07248b35ddd04e319c4
  Version:      2.1svn
  Stage:        2.1svn
  Date/Time:    2011-12-23 00:48:07

Fabio:trunk iFabio$


Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Revisit Chameleon's package builder
« Reply #238 on: December 23, 2011, 08:43:21 AM »
Hi Fabio

The trunk builds fine here and I see no errors, so I'm surprised you see this.

You should be able to set ownership to files/groups using -R 0:0.
Maybe a permissions error at your end?

For a test, try changing lines 549 and 557 in buildpkg.sh from
Code: [Select]
.......| cpio -o -z -R 0:0 --format .......to
Code: [Select]
.......| cpio -o -z -R root:wheel --format .......
Regards
blackosx
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

ErmaC

  • Resident
  • Posts: 134
Re: Revisit Chameleon's package builder
« Reply #239 on: December 24, 2011, 04:09:15 AM »
Thx Blackosx.

the "error" is gone...
I also add >/dev/null 2>&1 at the end of all "buildpackage" line for a "clean" log-output.
ex: from
Code: [Select]
buildpackage "$packageRefId" "${choiceId}" "${1}/${choiceId}" "/"to
Code: [Select]
buildpackage "$packageRefId" "${choiceId}" "${1}/${choiceId}" "/" >/dev/null 2>&1
But still some problem...
I try... build the package (make pkg), and the package folder is not deleted after the creation of pkg. see picture
???

Fabio
« Last Edit: December 24, 2011, 04:12:07 AM by ErmaC »
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240