syslinux and deps ...
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
#for i in ["mtools.texi"]:
|
||||
# pisitools.dosed(i, "/usr/local/etc", "/etc")
|
||||
|
||||
shelltools.export("INSTALL_PROGRAM", "install")
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--prefix=/usr \
|
||||
--sysconfdir=/etc/mtools \
|
||||
--includedir=/usr/src/linux/include")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
pisitools.dosed("mtools.conf","SAMPLE FILE","#SAMPLE FILE")
|
||||
def install():
|
||||
autotools.rawInstall('-j1 DESTDIR="%s"' % get.installDIR())
|
||||
|
||||
|
||||
pisitools.insinto("/etc/mtools","mtools.conf")
|
||||
|
||||
pisitools.dodoc("COPYING", "README*", "Release.notes")
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mtools</Name>
|
||||
<Homepage>http://mtools.linux.lu/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Utilities to access MS-DOS disks without mounting them</Summary>
|
||||
<Description>Mtools are utilities to access MS-DOS disks without mounting them.</Description>
|
||||
<Archive sha1sum="d703db71a409837a37db10a09ef63a35183f7565" type="targz">mirrors://gnu/mtools/mtools-4.0.18.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mtools</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-02-12</Date>
|
||||
<Version>4.0.18</Version>
|
||||
<Comment>Fix mtools.conf syntax.</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-20</Date>
|
||||
<Version>4.0.18</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-22</Date>
|
||||
<Version>4.0.17</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mtools</Name>
|
||||
<Summary xml:lang="tr">MS-DOS (Windows) disketlerinize -mount ile bağlamadan- erişim araçları</Summary>
|
||||
<Description xml:lang="tr">Mtools diskinizdeki MS-DOS (Windows) bölümlerine -mount komutu ile bağlamadan- erişebilmek için gereken araç setidir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--prefix=/usr --sbindir=/sbin")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog", "README")
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>reiserfsprogs</Name>
|
||||
<Homepage>http://www.kernel.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Tools to work with Reiserfs filesystems</Summary>
|
||||
<Description>Contains tools designed to create, modify and check Reiserfs filesystems.</Description>
|
||||
<!--<Archive sha1sum="bbeb832cbbd10701cc81a7a508308572095bf735" type="tarbz2">http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-3.6.21.tar.bz2</Archive>-->
|
||||
<Archive sha1sum="b51d1a524570436ea6e9eb0d8f74fae717f5f511" type="tarxz">http://ftp.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v3.6.24/reiserfsprogs-3.6.24.tar.xz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>reiserfsprogs</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-12-13</Date>
|
||||
<Version>3.6.24</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-10</Date>
|
||||
<Version>3.6.21</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>3.6.21</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>reiserfsprogs</Name>
|
||||
<Summary xml:lang="tr">Reiserfs dosya sistemleriyle çalışabilmek için gereken araçlar</Summary>
|
||||
<Description xml:lang="tr">Reiserfs dosya sistemleri oluşturmak, bu dosya sistemlerinde hata kontrolü yapmak, bu sistemlerin boyutlarını değiştirmek ve hata ayıklamak gibi görevler taşıyan araçlar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("OPTIMIZER", "%s" % get.CFLAGS())
|
||||
shelltools.export("DEBUG", "-DNDEBUG")
|
||||
|
||||
autotools.configure("--enable-readline=yes \
|
||||
--enable-blkid=yes")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DIST_ROOT=%s" % get.installDIR())
|
||||
autotools.rawInstall("DIST_ROOT=%s" % get.installDIR(), "install-dev")
|
||||
# Needed for building the QA testsuite
|
||||
#autotools.rawInstall("DIST_ROOT=%s" % get.installDIR(), "install-qa")
|
||||
|
||||
# Nuke static libraries
|
||||
#pisitools.remove("/lib/libhandle.a")
|
||||
#pisitools.remove("/lib/libhandle.la")
|
||||
#pisitools.remove("/usr/lib/*.a")
|
||||
|
||||
# Fix the symlink
|
||||
#pisitools.remove("/usr/lib/libhandle.so")
|
||||
#pisitools.dosym("/lib/libhandle.so.1", "/usr/lib/libhandle.so")
|
||||
|
||||
# Set +x bit for the library
|
||||
shelltools.chmod("%s/lib/libhandle.so.*.*.*" % get.installDIR(), 0755)
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xfsprogs</Name>
|
||||
<Homepage>http://oss.sgi.com/projects/xfs/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>XFS filesystem utilities</Summary>
|
||||
<Description>xfsprogs contains a number of administrative utilities to work with and manage XFS filesystems.</Description>
|
||||
<Archive sha1sum="84d03a49a1c493ed68687c45ca57a777af26b772" type="targz">ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-3.2.4.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xfsprogs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
<Dependency>readline</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/lib</Path>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xfsprogs-devel</Name>
|
||||
<Summary>Development headers for xfsprogs</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">xfsprogs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2015-08-04</Date>
|
||||
<Version>3.2.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-01</Date>
|
||||
<Version>3.1.11</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Erturk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-05</Date>
|
||||
<Version>3.1.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xfsprogs</Name>
|
||||
<Summary xml:lang="tr">XFS dosya sistemi araçları</Summary>
|
||||
<Description xml:lang="tr">xfsprogs XFS dosya sistemini kullanmak ve yönetmek için bir dizi araç içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import perlmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "Crypt-PasswdMD5-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
perlmodules.configure()
|
||||
|
||||
def build():
|
||||
perlmodules.make()
|
||||
|
||||
def check():
|
||||
perlmodules.make("test")
|
||||
|
||||
def install():
|
||||
perlmodules.install()
|
||||
|
||||
pisitools.dodoc("README")
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>perl-Crypt-PasswdMD5</Name>
|
||||
<Homepage>http://search.cpan.org/dist/Crypt-PasswdMD5/</Homepage>
|
||||
<Packager>
|
||||
<Name>Selim Ok</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Artistic</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Crypt::PasswdMD5 module for perl</Summary>
|
||||
<Description>Provides various crypt()-compatible interfaces to the MD5-based crypt() function.</Description>
|
||||
<Archive sha1sum="7bc5aa63adefb575462eaf1430af9812a0541295" type="targz">http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-1.40.tgz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>perl</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>perl-Crypt-PasswdMD5</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>perl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="man">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-09-10</Date>
|
||||
<Version>1.40</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-28</Date>
|
||||
<Version>1.40</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-08</Date>
|
||||
<Version>1.40</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-06</Date>
|
||||
<Version>1.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>perl-Crypt-PasswdMD5</Name>
|
||||
<Summary xml:lang="tr">Perl için Crypt::PasswdMD5 modülü</Summary>
|
||||
<Description xml:lang="tr">MD5 tabanlı crypt() fonksiyonu için, crypt() uyumlu çeşitli arayüzler sağlar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -1,3 +0,0 @@
|
||||
<PISI>
|
||||
<Name>system.base</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>system.boot</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
tools = ["sha1pass", "md5pass", "mkdiskimage", "keytab-lilo", "syslinux2ansi", "lss16toppm","pxelinux-options"]
|
||||
datadir = "/usr/lib/syslinux"
|
||||
|
||||
NoStrip = ["/sbin", "/usr/lib"]
|
||||
|
||||
pisitools.flags.remove("-fPIC")
|
||||
|
||||
def build():
|
||||
# shelltools.export("CFLAGS", "-Werror -Wno-unused -finline-limit=2000")
|
||||
shelltools.export("CFLAGS", get.CFLAGS())
|
||||
shelltools.export("LDFLAGS", "")
|
||||
|
||||
autotools.make('DATE="PisiLinux" spotless')
|
||||
autotools.make('DATE="PisiLinux"')
|
||||
# autotools.make('DATE="PARDUS" installer')
|
||||
# autotools.make('DATE="PARDUS" -C sample tidy')
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('INSTALLROOT=%s MANDIR="/usr/share/man" AUXDIR="/usr/lib/syslinux"' % get.installDIR())
|
||||
for f in tools:
|
||||
pisitools.insinto(datadir, "utils/"+f)
|
||||
|
||||
#pisitools.domove("/usr/lib/syslinux/libutil_com.c32","/usr/lib/syslinux/com32/libutil")
|
||||
#pisitools.domove("/usr/lib/syslinux/libcom32.c32","/usr/lib/syslinux/com32/lib")
|
||||
pisitools.dodoc("README", "NEWS", "doc/*.txt", "doc/logo/LICENSE")
|
||||
pisitools.remove("/usr/bin/gethostip")
|
||||
@@ -0,0 +1,182 @@
|
||||
--- syslinux-5.00-orig/utils/isohybrid.pl 2012-12-06 21:51:22.000000000 +0200
|
||||
+++ syslinux-5.00/utils/isohybrid.pl 2013-02-07 18:55:28.423760149 +0200
|
||||
@@ -44,6 +44,7 @@
|
||||
'id' => [0, 0xffffffff],
|
||||
'hd0' => [0, 2],
|
||||
'partok' => [0, 1],
|
||||
+ 'fat' => [0, 1],
|
||||
);
|
||||
|
||||
# Boolean options just set other options
|
||||
@@ -53,6 +54,7 @@
|
||||
'ctrlhd0' => ['hd0', 2],
|
||||
'nopartok' => ['partok', 0],
|
||||
'partok' => ['partok', 1],
|
||||
+ 'fatfirst' => ['fat', 1],
|
||||
);
|
||||
|
||||
sub usage() {
|
||||
@@ -66,7 +68,8 @@
|
||||
" -id Specify MBR ID (default random)\n",
|
||||
" -forcehd0 Always assume we are loaded as disk ID 0\n",
|
||||
" -ctrlhd0 Assume disk ID 0 if the Ctrl key is pressed\n",
|
||||
- " -partok Allow booting from within a partition\n";
|
||||
+ " -partok Allow booting from within a partition\n",
|
||||
+ " -fatfirst Create a small fat partition first\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
@@ -221,9 +224,9 @@
|
||||
|
||||
# Print partition table
|
||||
$offset = $opt{'offset'};
|
||||
-$psize = $c*$h*$s - $offset;
|
||||
+$psize = $c*$h*$s - $offset - 1;
|
||||
$bhead = int($offset/$s) % $h;
|
||||
-$bsect = ($offset % $s) + 1;
|
||||
+$bsect = ($offset % $s) + 1 + 1;
|
||||
$bcyl = int($offset/($h*$s));
|
||||
$bsect += ($bcyl & 0x300) >> 2;
|
||||
$bcyl &= 0xff;
|
||||
@@ -233,10 +236,29 @@
|
||||
$fstype = $opt{'type'}; # Partition type
|
||||
$pentry = $opt{'entry'}; # Partition slot
|
||||
|
||||
+$offset += $psize;
|
||||
+$psize1 = $cylsize/512;
|
||||
+$bhead1 = int(($offset+1)/$s) % $h;
|
||||
+$bsect1 = (($offset+1) % $s) + 1;
|
||||
+$bcyl1 = int(($offset+1)/($h*$s));
|
||||
+$bsect1 += ($bcyl1 & 0x300) >> 2;
|
||||
+$bcyl1 &= 0xff;
|
||||
+$ehead1 = $h-1;
|
||||
+$esect1 = $s;
|
||||
+$ecyl1 = $bcyl1;
|
||||
+print "ehead1=$ehead1 esect1=$esect1 ecyl1=$ecyl1\n";
|
||||
+
|
||||
+if ( $opt{'fat'} == 1 ) {
|
||||
+ $pentry = 2;
|
||||
+}
|
||||
+
|
||||
for ( $i = 1 ; $i <= 4 ; $i++ ) {
|
||||
- if ( $i == $pentry ) {
|
||||
+ if ( $opt{'fat'} == 1 && $i == 1 ) {
|
||||
+ $mbr .= pack("CCCCCCCCVV", 0x00, $bhead1, $bsect1, $bcyl1, 0xc,
|
||||
+ $ehead1, $esect1, $ecyl1, $offset+1, $psize1);
|
||||
+ } elsif ( $i == $pentry ) {
|
||||
$mbr .= pack("CCCCCCCCVV", 0x80, $bhead, $bsect, $bcyl, $fstype,
|
||||
- $ehead, $esect, $ecyl, $offset, $psize);
|
||||
+ $ehead, $esect, $ecyl, $offset + 1, $psize);
|
||||
} else {
|
||||
$mbr .= "\0" x 16;
|
||||
}
|
||||
@@ -251,6 +273,18 @@
|
||||
print FILE "\0" x $padding;
|
||||
}
|
||||
|
||||
+# Create fat image and put it into the file
|
||||
+if($opt{'fat'}) {
|
||||
+ open(FATFILE, "> $file.fat") or die "$0: cannot open $file.fat: $!\n";
|
||||
+ print FATFILE "\0" x ($psize1*512);
|
||||
+ close(FATFILE);
|
||||
+ system("/usr/sbin/mkfs.vfat -n RESIZE_ME $file.fat") and die "$0: cannot format fat\n";
|
||||
+ open(FATFILE, "< $file.fat");
|
||||
+ print FILE <FATFILE>;
|
||||
+ close(FATFILE);
|
||||
+ unlink("$file.fat");
|
||||
+}
|
||||
+
|
||||
# Done...
|
||||
close(FILE);
|
||||
|
||||
--- syslinux-5.00-orig/utils/isohybrid.in 2012-12-06 21:51:22.000000000 +0200
|
||||
+++ syslinux-5.00/utils/isohybrid.in 2013-02-07 18:55:28.423760149 +0200
|
||||
@@ -44,6 +44,7 @@
|
||||
'id' => [0, 0xffffffff],
|
||||
'hd0' => [0, 2],
|
||||
'partok' => [0, 1],
|
||||
+ 'fat' => [0, 1],
|
||||
);
|
||||
|
||||
# Boolean options just set other options
|
||||
@@ -53,6 +54,7 @@
|
||||
'ctrlhd0' => ['hd0', 2],
|
||||
'nopartok' => ['partok', 0],
|
||||
'partok' => ['partok', 1],
|
||||
+ 'fatfirst' => ['fat', 1],
|
||||
);
|
||||
|
||||
sub usage() {
|
||||
@@ -66,7 +68,8 @@
|
||||
" -id Specify MBR ID (default random)\n",
|
||||
" -forcehd0 Always assume we are loaded as disk ID 0\n",
|
||||
" -ctrlhd0 Assume disk ID 0 if the Ctrl key is pressed\n",
|
||||
- " -partok Allow booting from within a partition\n";
|
||||
+ " -partok Allow booting from within a partition\n",
|
||||
+ " -fatfirst Create a small fat partition first\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
@@ -221,9 +224,9 @@
|
||||
|
||||
# Print partition table
|
||||
$offset = $opt{'offset'};
|
||||
-$psize = $c*$h*$s - $offset;
|
||||
+$psize = $c*$h*$s - $offset - 1;
|
||||
$bhead = int($offset/$s) % $h;
|
||||
-$bsect = ($offset % $s) + 1;
|
||||
+$bsect = ($offset % $s) + 1 + 1;
|
||||
$bcyl = int($offset/($h*$s));
|
||||
$bsect += ($bcyl & 0x300) >> 2;
|
||||
$bcyl &= 0xff;
|
||||
@@ -233,10 +236,29 @@
|
||||
$fstype = $opt{'type'}; # Partition type
|
||||
$pentry = $opt{'entry'}; # Partition slot
|
||||
|
||||
+$offset += $psize;
|
||||
+$psize1 = $cylsize/512;
|
||||
+$bhead1 = int(($offset+1)/$s) % $h;
|
||||
+$bsect1 = (($offset+1) % $s) + 1;
|
||||
+$bcyl1 = int(($offset+1)/($h*$s));
|
||||
+$bsect1 += ($bcyl1 & 0x300) >> 2;
|
||||
+$bcyl1 &= 0xff;
|
||||
+$ehead1 = $h-1;
|
||||
+$esect1 = $s;
|
||||
+$ecyl1 = $bcyl1;
|
||||
+print "ehead1=$ehead1 esect1=$esect1 ecyl1=$ecyl1\n";
|
||||
+
|
||||
+if ( $opt{'fat'} == 1 ) {
|
||||
+ $pentry = 2;
|
||||
+}
|
||||
+
|
||||
for ( $i = 1 ; $i <= 4 ; $i++ ) {
|
||||
- if ( $i == $pentry ) {
|
||||
+ if ( $opt{'fat'} == 1 && $i == 1 ) {
|
||||
+ $mbr .= pack("CCCCCCCCVV", 0x00, $bhead1, $bsect1, $bcyl1, 0xc,
|
||||
+ $ehead1, $esect1, $ecyl1, $offset+1, $psize1);
|
||||
+ } elsif ( $i == $pentry ) {
|
||||
$mbr .= pack("CCCCCCCCVV", 0x80, $bhead, $bsect, $bcyl, $fstype,
|
||||
- $ehead, $esect, $ecyl, $offset, $psize);
|
||||
+ $ehead, $esect, $ecyl, $offset + 1, $psize);
|
||||
} else {
|
||||
$mbr .= "\0" x 16;
|
||||
}
|
||||
@@ -251,6 +273,18 @@
|
||||
print FILE "\0" x $padding;
|
||||
}
|
||||
|
||||
+# Create fat image and put it into the file
|
||||
+if($opt{'fat'}) {
|
||||
+ open(FATFILE, "> $file.fat") or die "$0: cannot open $file.fat: $!\n";
|
||||
+ print FATFILE "\0" x ($psize1*512);
|
||||
+ close(FATFILE);
|
||||
+ system("/usr/sbin/mkfs.vfat -n RESIZE_ME $file.fat") and die "$0: cannot format fat\n";
|
||||
+ open(FATFILE, "< $file.fat");
|
||||
+ print FILE <FATFILE>;
|
||||
+ close(FATFILE);
|
||||
+ unlink("$file.fat");
|
||||
+}
|
||||
+
|
||||
# Done...
|
||||
close(FILE);
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ur a/mk/com32.mk b/mk/com32.mk
|
||||
--- a/mk/com32.mk 2011-12-09 19:28:17.000000000 +0100
|
||||
+++ b/mk/com32.mk 2011-12-18 18:22:11.032342645 +0100
|
||||
@@ -24,6 +24,8 @@
|
||||
GCCOPT += $(call gcc_ok,-freg-struct-return,)
|
||||
GCCOPT += -mregparm=3 -DREGPARM=3 -march=i386 -Os
|
||||
GCCOPT += $(call gcc_ok,-fPIE,-fPIC)
|
||||
+GCCOPT += $(call gcc_ok,-nopie,)
|
||||
+GCCOPT += $(call gcc_ok,-fno-pie,)
|
||||
GCCOPT += $(call gcc_ok,-fno-exceptions,)
|
||||
GCCOPT += $(call gcc_ok,-fno-asynchronous-unwind-tables,)
|
||||
GCCOPT += $(call gcc_ok,-fno-strict-aliasing,)
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
+77
@@ -0,0 +1,77 @@
|
||||
UI vesamenu.c32
|
||||
timeout 0
|
||||
menu background backgound.png
|
||||
|
||||
MENU RESOLUTION 1024 768
|
||||
menu clear
|
||||
menu vshift 8
|
||||
menu vshift 8
|
||||
menu rows 20
|
||||
menu title Pisi GNU/Linux
|
||||
menu margin 8
|
||||
menu width 70
|
||||
menu helpmsgrow 15
|
||||
#menu tabmsgrow 13
|
||||
|
||||
|
||||
menu color border * #00000000 #00000000 none
|
||||
menu color sel 0 #ffffffff #00000000 none
|
||||
menu color title 0 #ff7ba3d0 #00000000 none
|
||||
menu color tabmsg 0 #ff3a6496 #00000000 none
|
||||
menu color unsel 0 #84b8ffff #00000000 none
|
||||
menu color hotsel 0 #84b8ffff #00000000 none
|
||||
menu color hotkey 0 #ffffffff #00000000 none
|
||||
menu color help 0 #ffffffff #00000000 none
|
||||
menu color scrollbar 0 #ffffffff #ff355594 none
|
||||
menu color timeout 0 #ffffffff #00000000 none
|
||||
menu color timeout_msg 0 #ffffffff #00000000 none
|
||||
menu color cmdmark 0 #84b8ffff #00000000 none
|
||||
menu color cmdline 0 #ffffffff #00000000 none
|
||||
|
||||
label installation
|
||||
menu label Pisi Linux installation (default)
|
||||
kernel /isolinux/boot/kernel
|
||||
append initrd=/isolinux/boot/initrd yali=default mudur=language:en splash quiet
|
||||
text help
|
||||
Pisi Linux Installation with default settings
|
||||
endtext
|
||||
|
||||
label safe
|
||||
menu label Pisi Linux Installation (safe)
|
||||
kernel /isolinux/boot/kernel
|
||||
append initrd=/isolinux/boot/initrd yali=default mudur=language:en xorg=safe nomodeset
|
||||
text help
|
||||
Pisi Linux Installation with safe video settings
|
||||
endtext
|
||||
|
||||
label rescue
|
||||
menu label Pisi Linux System Rescue
|
||||
kernel /isolinux/boot/kernel
|
||||
append initrd=/isolinux/boot/initrd yali=rescue mudur=language:en xorg=safe nomodeset
|
||||
text help
|
||||
Pisi Linux bootloader rescue and password reset utility
|
||||
endtext
|
||||
|
||||
label memory
|
||||
menu label Check System Memory
|
||||
text help
|
||||
Use this utility to see if the memory is working correctly
|
||||
endtext
|
||||
kernel /isolinux/boot/memtest
|
||||
|
||||
label hardware
|
||||
menu label Hardware Information
|
||||
text help
|
||||
Use this utility to see your system information
|
||||
endtext
|
||||
kernel /isolinux/hdt.c32
|
||||
|
||||
menu separator
|
||||
label local
|
||||
menu label Boot from local drive
|
||||
text help
|
||||
Boot your system from local drive
|
||||
endtext
|
||||
localboot 0xffff
|
||||
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>syslinux</Name>
|
||||
<Homepage>http://syslinux.zytor.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>SysLinux, IsoLinux and PXELinux bootloader</Summary>
|
||||
<Description>Lightweight bootloaders for floppy media (SYSLINUX), network booting (PXELINUX), and bootable "El Torito" CD-ROMs (ISOLINUX). The project also includes MEMDISK, a tool to boot legacy operating systems (such as DOS) from nontraditional media; it is usually used in conjunction with PXELINUX and ISOLINUX.</Description>
|
||||
<Archive sha1sum="ceda70713fd575bd46fc497b503ed90f121ab3b1" type="tarxz">https://www.kernel.org/pub/linux/utils/boot/syslinux/4.xx/syslinux-4.07.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>nasm</Dependency>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">nopie.patch</Patch>
|
||||
<Patch level="1">fixisohybrid.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>syslinux</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>mtools</Dependency>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
<Dependency>perl-Crypt-PasswdMD5</Dependency>
|
||||
<Dependency>perl-Digest-SHA1</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/syslinux</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/usr/lib/syslinux/isolinux.cfg" permission="0644" owner="root">pisi-iso/isolinux.cfg</AdditionalFile>
|
||||
<AdditionalFile target="/usr/lib/syslinux/background.png" permission="0644" owner="root">pisi-iso/background.png</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2014-06-14</Date>
|
||||
<Version>4.07</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-04-13</Date>
|
||||
<Version>4.07</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>4.06</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-03-24</Date>
|
||||
<Version>4.06</Version>
|
||||
<Comment>Back to 4x line</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-07</Date>
|
||||
<Version>5.00</Version>
|
||||
<Comment>fix isohybrid</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-08</Date>
|
||||
<Version>5.00</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>syslinux</Name>
|
||||
<Summary xml:lang="tr">SysLinux, IsoLinux ve PXELinux önyükleyicileri</Summary>
|
||||
<Description xml:lang="tr">Disket sürücüden (SYSLINUX), ağ üzerinden (PXELINUX) ve açılabilir "El Torito" CD-ROM'lardan (ISOLINUX) açılışı sağlayan hafif önyükleyici araçları. Bu proje ayrıca sık kullanılmayan ya da çok eski işletim sistemlerinin açılışı için genellikle PXELINUX ve ISOLINUX ile ortak kullanılabilen MEMDISK aracını da içermektedir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user