← Back to team overview

kernel-packages team mailing list archive

[Bug 1383884] Re: deb-pkg: Add support for powerpc little endian

 

** Also affects: linux (Ubuntu Utopic)
   Importance: Medium
     Assignee: Canonical Kernel Team (canonical-kernel-team)
       Status: Triaged

** Also affects: linux (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Utopic)
       Status: Triaged => Fix Committed

** Changed in: linux (Ubuntu Utopic)
     Assignee: Canonical Kernel Team (canonical-kernel-team) => Leann Ogasawara (leannogasawara)

** Changed in: linux (Ubuntu Vivid)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1383884

Title:
  deb-pkg: Add support for powerpc little endian

Status in “linux” package in Ubuntu:
  Fix Committed
Status in “linux” source package in Utopic:
  Fix Committed
Status in “linux” source package in Vivid:
  Fix Released

Bug description:
  git describe --contains 22739edfc563fa42f02a2f7323fd352061ef32b3
  v3.18-rc1~45^2~2

  commit 22739edfc563fa42f02a2f7323fd352061ef32b3
  Author: Michael Neuling <mikey@xxxxxxxxxxx>
  Date:   Fri Sep 5 17:55:18 2014 +1000

      deb-pkg: Add support for powerpc little endian
      
      The Debian powerpc little endian architecture is called ppc64el.  T
      is the default architecture used by Ubuntu for powerpc.
      
      The below checks the kernel config to see if we are compiling littl
      endian and sets the Debian arch appropriately.
      
      Signed-off-by: Michael Neuling <mikey@xxxxxxxxxxx>
      Signed-off-by: Michal Marek <mmarek@xxxxxxx>

  diff --git a/scripts/package/builddeb b/scripts/package/builddeb
  index 7c0e6e4..cfe5e27 100644
  --- a/scripts/package/builddeb
  +++ b/scripts/package/builddeb
  @@ -37,7 +37,7 @@ create_package() {
          s390*)
                  debarch=s390$(grep -q CONFIG_64BIT=y $KCONFIG_CONFIG &&
          ppc*)
  -               debarch=powerpc ;;
  +               debarch=$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG &
          parisc*)
                  debarch=hppa ;;
          mips*)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383884/+subscriptions


References