newmake and squashfs

The forum for our foreign guests... Please post in English
nitr8
Einsteiger
Einsteiger
Beiträge: 102
Registriert: Freitag 29. Dezember 2006, 10:44

newmake and squashfs

Beitrag von nitr8 »

Hiya,

im trying to compile a squashfs image, however most files in cdkflash/root-neutrino-squashfs/etc/ symlink to /var/etc/ and there is nothing in /var/etc/

root-neutrino-squashfs/etc/

Code: Alles auswählen

ls -al root-neutrino-squashfs/etc/
total 53
drwxr-xr-x  4 nitr8 admin  744 2007-01-12 22:45 .
drwxr-xr-x 14 nitr8 admin  384 2007-01-12 22:45 ..
lrwxrwxrwx  1 nitr8 admin   17 2007-01-12 22:45 auto.net -> /var/etc/auto.net
-rw-r--r--  1 nitr8 admin  152 2007-01-12 22:45 cramfs.urls
-rw-r--r--  1 nitr8 admin  305 2007-01-12 22:45 fstab
lrwxrwxrwx  1 nitr8 admin   14 2007-01-12 22:45 group -> /var/etc/group
-rw-r--r--  1 nitr8 admin   18 2007-01-12 22:45 host.conf
lrwxrwxrwx  1 nitr8 admin   17 2007-01-12 22:45 hostname -> /var/etc/hostname
lrwxrwxrwx  1 nitr8 admin   14 2007-01-12 22:45 hosts -> /var/etc/hosts
lrwxrwxrwx  1 nitr8 admin   19 2007-01-12 22:45 inetd.conf -> /var/etc/inetd.conf
drwxr-xr-x  2 nitr8 admin  376 2007-01-12 22:45 init.d
-rw-r--r--  1 nitr8 admin  637 2007-01-12 22:45 inittab
lrwxrwxrwx  1 nitr8 admin   18 2007-01-12 22:45 issue.net -> /var/etc/issue.net
-rw-r--r--  1 nitr8 admin  870 2007-01-12 22:45 lufsd.conf
-rw-r--r--  1 nitr8 admin 3088 2007-01-12 22:45 mime.types
-rw-r--r--  1 nitr8 admin  252 2007-01-12 22:45 modules.conf
lrwxrwxrwx  1 nitr8 admin   12 2007-01-12 22:45 mtab -> /proc/mounts
drwxr-xr-x  2 nitr8 admin   80 2007-01-12 22:45 network
-rw-r--r--  1 nitr8 admin  262 2007-01-12 22:45 nsswitch.conf
lrwxrwxrwx  1 nitr8 admin   15 2007-01-12 22:45 passwd -> /var/etc/passwd
lrwxrwxrwx  1 nitr8 admin   16 2007-01-12 22:45 profile -> /var/etc/profile
-rw-r--r--  1 nitr8 admin 1339 2007-01-12 22:45 protocols
lrwxrwxrwx  1 nitr8 admin   20 2007-01-12 22:45 resolv.conf -> /var/etc/resolv.conf
lrwxrwxrwx  1 nitr8 admin   17 2007-01-12 22:45 services -> /var/etc/services
-rw-r--r--  1 nitr8 admin 2424 2007-01-12 22:45 termcap
-rw-r--r--  1 nitr8 admin 4785 2007-01-12 22:45 timezone.xml
-rw-r--r--  1 nitr8 admin  222 2007-01-12 22:45 vsftpd.conf
root-neutrino-squashfs/var/

Code: Alles auswählen

ls -al root-neutrino-squashfs/var/
total 0
drwxr-xr-x  2 nitr8 admin  48 2007-01-12 22:45 .
drwxr-xr-x 14 nitr8 admin 384 2007-01-12 22:45 ..
can anyone shed some light?

--me
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Beitrag von Tommy »

all files which land in /var are copied to cdkflash/var-neutrino/ during buildtime. If you like to add something to /var in the final image you have to do that in cdkflash/var-neutrino during buildtime. You can use the script var-neutrino-local.sh

Please read the newmake documentation:
http://www.bengt-martensson.de/dbox2/fl ... wmake.html
---------------------------
Alle weiteren Infos findest Du im WIKI
Bitte vor dem posten Boardregeln lesen und verstehen!
Wie erstelle ich ein Bootlog? Wo finde ich die FAQ?
nitr8
Einsteiger
Einsteiger
Beiträge: 102
Registriert: Freitag 29. Dezember 2006, 10:44

Beitrag von nitr8 »

tommy,

thanks a lot for that. I am used to scripts but have only done builds with jffs2 so used to that layout. I can clearley see where i am going wrong. Thanks for sheding light on my problem :)

--me