Bootstrap

Differences between revisions 7 and 8
Revision 7 as of 2007-08-02 09:42:34
Size: 2143
Editor: dslb-088-073-126-201
Comment: add more hints
Revision 8 as of 2008-08-06 16:28:24
Size: 2153
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
 * [:MobileAndEmbedded/Bootstrap/Main/RequiredLpia:main required sources]
 * [:MobileAndEmbedded/Bootstrap/Main/ImportantLpia:main important sources]
 * [:MobileAndEmbedded/Bootstrap/Main/StandardLpia:main standard sources]
 * [:MobileAndEmbedded/Bootstrap/Main/OptionalLpia:main optional sources]
 * [:MobileAndEmbedded/Bootstrap/Main/ExtraLpia:main extra sources]
 * [[MobileAndEmbedded/Bootstrap/Main/RequiredLpia|main required sources]]
 * [[MobileAndEmbedded/Bootstrap/Main/ImportantLpia|main important sources]]
 * [[MobileAndEmbedded/Bootstrap/Main/StandardLpia|main standard sources]]
 * [[MobileAndEmbedded/Bootstrap/Main/OptionalLpia|main optional sources]]
 * [[MobileAndEmbedded/Bootstrap/Main/ExtraLpia|main extra sources]]
Line 51: Line 51:
 * [:MobileAndEmbedded/Bootstrap/Universe/RequiredLpia:universe required sources]
 * [:MobileAndEmbedded/Bootstrap/Universe/ImportantLpia:universe important sources]
 * [:MobileAndEmbedded/Bootstrap/Universe/StandardLpia:universe standard sources]
 * [:MobileAndEmbedded/Bootstrap/Universe/OptionalLpia:universe optional sources]
 * [:MobileAndEmbedded/Bootstrap/Universe/ExtraLpia:universe extra sources]
 * [[MobileAndEmbedded/Bootstrap/Universe/RequiredLpia|universe required sources]]
 * [[MobileAndEmbedded/Bootstrap/Universe/ImportantLpia|universe important sources]]
 * [[MobileAndEmbedded/Bootstrap/Universe/StandardLpia|universe standard sources]]
 * [[MobileAndEmbedded/Bootstrap/Universe/OptionalLpia|universe optional sources]]
 * [[MobileAndEmbedded/Bootstrap/Universe/ExtraLpia|universe extra sources]]

MobileAndEmbedded/Bootstrap

Source packages need to be checked, that they behave in the same way as for the i386 architecture; the packaging has to be checked for things like:

ifeq ($(DEB_HOST_ARCH),i386)
  ...
endif

ifeq ($(filter $(DEB_HOST_GNU_CPU),alpha i486 hppa ia64 powerpc s390 sparc x86_64),)
  ...
endif

have to be changed into

ifneq (,$(filter $(DEB_HOST_ARCH),i386 lpia))
  ...
endif

ifeq ($(filter $(DEB_HOST_GNU_CPU),alpha i486 i686 hppa ia64 powerpc s390 sparc x86_64),)
  ...
endif

Things to watch:

  • debian/control: Architecture attribute. Explicit use of i386', add lpia'. Look at the rules file.

  • DEB_XXX_ARCH is lpia' instead of i386'.

  • DEB_XXX_GNU_CPU is i686' instead of i486', but better use DEB_XXX_ARCH.

  • Use of uname

  • Use of preprocessor in dpatch
  • Use of linux-gnu to influence package behaviour, we're linux-gnulp, use of DEB_XXX_GNU_OS, comparing with `linux-gnu'
  • inclusion of architecture specific files (include debian/vars.$(DEB_XXX_ARCH), make Debian-i686)
  • building optimized libraries (i686); only one is built for lpia using the default values.
  • explicit setting of compiler options -march / -mtune. The defaults should be taken.
  • ...

List of sources which need checking

Universe currently is not a focus ...

MobileAndEmbedded/Bootstrap (last edited 2008-08-06 16:28:24 by localhost)