Overview
Comment:Mieux avec fakeroot
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c06885d8f36444e3b433ae0e79e850b8f9f42077
User & Date: bohwaz on 2014-06-10 11:01:37
Other Links: manifest | tags
Context
2014-06-30
23:48
Patch du ticket [76931fcb17] (solde dans le grand livre) check-in: a3d37baef8 user: bohwaz tags: trunk
2014-06-10
11:01
Mieux avec fakeroot check-in: c06885d8f3 user: bohwaz tags: trunk
2014-06-05
18:35
Correction droits check-in: 808cedc7d7 user: bohwaz tags: trunk
Changes

Modified debian/makedeb.sh from [3af7097269] to [ee35aa24d9].

    40     40   mkdir DEBIAN
    41     41   
    42     42   PACKAGE_VERSION=`cat ${SRCDIR}/VERSION`
    43     43   PACKAGE_DEB_VERSION=${PACKAGE_VERSION}-${DEB_REV}
    44     44   DEBFILE=${THISDIR}/${PACKAGE_DEBNAME}-${PACKAGE_DEB_VERSION}-dev-${DEB_ARCH_NAME}.deb
    45     45   PACKAGE_TIME=$(/bin/date)
    46     46   
    47         -sudo chown -R root.root ${DEBLOCALPREFIX}
    48     47   rm -f ${DEBFILE}
    49     48   echo "Creating .deb package [${DEBFILE}]..."
    50     49   
    51     50   echo "Generating md5 sums..."
    52     51   find ${DEBLOCALPREFIX} -type f -exec md5sum {} \; > DEBIAN/md5sums
    53     52   
    54     53   true && {
................................................................................
   124    123   
   125    124   EOF
   126    125   
   127    126   }
   128    127   
   129    128   
   130    129   true && {
   131         -    dpkg-deb -b ${DEBROOT} ${DEBFILE}
          130  +    fakeroot dpkg-deb -b ${DEBROOT} ${DEBFILE}
   132    131       echo "Package file created:"
   133    132       ls -la ${DEBFILE}
   134    133       dpkg-deb --info ${DEBFILE}
   135    134   }
   136    135   
   137    136   cd - >/dev/null
   138    137   true && {
   139    138       echo "Cleaning up..."
   140    139       rm -fr ${DEBROOT}
   141    140   }
   142    141   
   143    142   echo "Done :)"