diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-01-04 12:08:04 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-04 12:08:04 +0000 |
commit | 5eccfb8fa47f3bb6a55252bbe4cc7e108f9c410d (patch) | |
tree | 52ce096c38620e7e8d351746f544af9a75d240f0 /packages/meta | |
parent | de6622c1519b1a6c6de00009546e3a7122a228d8 (diff) |
unslung: Usability updates for Unslung 6.x - ipkg prints message when booted on flash, motd prints at login indicating status of on-disk or on-flash, status appears on home page in web interface, unsling now asks for root password, and some additional checks are made by unsling to avoid known problems that can prevent a successful unsling, added new unslung logo.
Diffstat (limited to 'packages/meta')
-rw-r--r-- | packages/meta/unslung-image.bb | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/packages/meta/unslung-image.bb b/packages/meta/unslung-image.bb index f9fda0aedc..265986be50 100644 --- a/packages/meta/unslung-image.bb +++ b/packages/meta/unslung-image.bb @@ -1,5 +1,5 @@ LICENSE = MIT -PR = "r7" +PR = "r11" IMAGE_BASENAME = "unslung" @@ -7,13 +7,11 @@ IMAGE_LINGUAS = "" USE_DEVFS = "1" DEPENDS = "unslung-kernel unslung-rootfs \ - glibc slingbox ipkg wget cpio findutils portmap-unslung \ - devio \ + glibc slingbox ipkg cpio findutils \ ${UNSLUNG_EXTRA_DEPENDS}" IPKG_INSTALL = "unslung-rootfs \ - libc6-unslung slingbox ipkg wget cpio findutils portmap-unslung \ - devio \ + libc6-unslung slingbox ipkg cpio findutils \ ${UNSLUNG_EXTRA_INSTALL}" IMAGE_PREPROCESS_COMMAND += "unslung_clean_image; " @@ -31,10 +29,10 @@ unslung_clean_image () { rm -f ${IMAGE_ROOTFS}/${sysconfdir}/version # Tidy up some thing which are in the wrong place mv ${IMAGE_ROOTFS}${libdir}/libipkg* ${IMAGE_ROOTFS}/lib/ - # Remove the /lib/*.dat files cause they are too big - rm -f ${IMAGE_ROOTFS}/lib/*.dat # Remove the ipkg symlink - unsling puts it back in rm -f ${IMAGE_ROOTFS}${bindir}/ipkg + # and make the ipkg symlink point to the ipkg-fl utility instead. + ln -s ipkg-fl ${IMAGE_ROOTFS}${bindir}/ipkg # Hack out the modutils stuff - it's too hard to make it work rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/info/update-modules.postinst rm -rf ${IMAGE_ROOTFS}/etc/rcS.d @@ -44,6 +42,34 @@ unslung_clean_image () { echo "#!/bin/sh" > ${IMAGE_ROOTFS}/sbin/depmod echo "exit 0" >> ${IMAGE_ROOTFS}/sbin/depmod chmod ugo+x ${IMAGE_ROOTFS}/sbin/depmod + ${STRIP} ${IMAGE_ROOTFS}/lib/libgcc_s.so.1 + chmod ugo+x ${IMAGE_ROOTFS}/lib/libgcc_s.so.1 + + # Remove some of the Samba codepages to make space + # 437 (USA) - keep + # 737 (Greek) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.737 + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/unicode_map.737 + # 850 (Latin1) - keep + # 852 (Latin2) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.852 + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/unicode_map.852 + # 861 (Iceland) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.861 + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/unicode_map.861 + # 866 (Russian) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.866 + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/unicode_map.866 + # 932 (Japanese Shift-JIS) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.932 + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/unicode_map.932 + # 936 (Simplified Chinese) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.936 + # 949 (Korean) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.949 + # 950 (Chinese BIG-5) + rm -f ${IMAGE_ROOTFS}/etc/samba/codepages/codepage.950 + # ISO8859-1 (Latin 1) - keep } python () { |