Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Mark boot partition as EFI System Partition (ESP) #44

Open
wants to merge 660 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
660 commits
Select commit Hold shift + click to select a range
d3f1ed6
wic: Remove dependency on myurlgrab module
tzanussi Oct 22, 2013
8d158a7
wic: remove rpm warning code from BackendPlugin
tzanussi Oct 22, 2013
72db8cc
wic: Remove rpm and grabber dependencies from BaseImageCreator
tzanussi Oct 22, 2013
45bdd32
wic: Remove rpmmisc call from livecd
tzanussi Oct 22, 2013
b768094
wic: Remove binary dependencies
tzanussi Oct 22, 2013
f29fde1
wic: Make find_binary_path() more user-friendly
tzanussi Oct 22, 2013
34739da
wic: Update and generalize pseudo setup for rootfs generation
tzanussi Oct 22, 2013
265b342
initramfs-framework: fix test that filter backup module files
Oct 22, 2013
c2be524
midori: exclude from self-hosted for mips64
jackiehjm Oct 22, 2013
263b6aa
base.bbclass: fix nondeterministic PACKAGECONFIG processing order
kergoth Oct 23, 2013
34f6dcf
packagegroup-base: if zeroconf DISTRO_FEATURE enabled, add libnss-mdns
rossburton Oct 16, 2013
fc9f1c8
runqemu-extract-sdk: add --numeric-owner option to tar command
ChenQi1989 Oct 21, 2013
76e0ce8
relocate_sdk.py: Allow script to work with Python 2.4 and 3.
kscherer Oct 17, 2013
5dacc78
perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64
Oct 26, 2013
a1927d6
nfs-utils: Stop rpc.statd correctly
Oct 22, 2013
470f005
nfs-utils: nfsserver restart should kill and recreate nfsd kernel thr…
Oct 25, 2013
8e556d3
cracklib: cracklib-native should not depend on zlib
kscherer Oct 24, 2013
e92c430
nativesdk-qt4-tools: create qt.conf file
Oct 28, 2013
8432cae
meta-toolchain-qt: put QT_CONF_PATH in environment script
Oct 28, 2013
44c3b68
pulseaudio: Fix build break on armeb
kraj Oct 29, 2013
17ce831
pseudo: fix library path in FILES_${PN}
Oct 29, 2013
431c80b
cogl-1.0: depend on virtual/mesa
mtdcr Oct 17, 2013
309ef19
debugedit: fix segment fault while file's bss offset have a large number
hongxu-jia Oct 21, 2013
a975c82
pigz: Add pigz to buildtools tarball
kscherer Oct 21, 2013
7d675f1
wic: Remove selinux_check()
tzanussi Oct 24, 2013
2421773
qt4: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch
net147 Oct 24, 2013
3489443
pixbufcache.bbclass: gdk-pixbuf-query-loaders depends on libz
kscherer Oct 23, 2013
a30af0d
libcap: fix CAP_LAST_CAP
Oct 23, 2013
dc76969
dbus: no messages of status command print
Oct 22, 2013
85bacab
openssl: create package for openssl configuration file
Oct 28, 2013
f8496bd
core-image-basic.bb: Allow user extensions
GaryThomas Oct 30, 2013
9f52614
classes/ptest: fix quoting
bluelightning Oct 30, 2013
52bc1c3
systemd-compat-units: run-postinsts fix script link
schnitzeltony Oct 16, 2013
11d9127
cross-canadian: Handle powerpc linux verses linux-gnuspe
rpurdie Oct 17, 2013
9134463
vala.bbclass: add dependency on vala
Oct 29, 2013
9be52e5
e2fsprogs: Escape filenames in populate-extfs.sh
sgh Oct 28, 2013
664eb43
ncurses-terminfo: Remove bashism from basic terminfo installation
sethbollinger Oct 26, 2013
2e127d4
syslinux.bbclass: Fix default serial port string
jwessel Oct 30, 2013
d19f1a0
grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class
joaohf Oct 30, 2013
8b4c151
grub-efi.bbclass: Fix startup.nsh to work on more EFI revs
jwessel Oct 30, 2013
f46e8aa
ppp: Add two structures in if_pppol2tp.h
Nov 2, 2013
28cd3e8
zisofs-tools-native: add missing DEPENDS on zlib-native
bluelightning Nov 5, 2013
bd80aac
mdadm: Disable the RUN_DIR check
Nov 4, 2013
5d6fdbd
extrausers.bbclass: avoid infinite loop
ChenQi1989 Nov 6, 2013
7a0761c
eglibc_2.18.bb: accept make versions 4.0 and greater
net147 Nov 4, 2013
252ab00
eglibc_2.17.bb: accept make versions 4.0 and greater
net147 Nov 4, 2013
e078fa2
ppp: Fix compilation errors in Makefile
Nov 5, 2013
6894ee1
bootlogd: create log file if not present
ChenQi1989 Nov 2, 2013
b4d22bb
weston-init: start weston on a new VT
rossburton Nov 7, 2013
728ecd9
image-mklibs: Fix grep pattern when mklibs collects executables in ro…
Nov 11, 2013
3e8bacf
mklibs: add dependency on dpkg-native
Nov 11, 2013
c34300c
openssh: fix sshd status command error prompt
Oct 18, 2013
01411d9
nfs-utils: modify nfsserver init script indent
Oct 22, 2013
f8643d5
irda-utils: restart irda daemon correctly
Oct 30, 2013
94025c0
busybox: fix sed auto insert newline testcase
jackiehjm Oct 31, 2013
5411bbc
kernel.bbclass: Delay rm_work to run after do_bundle_initramfs
Nov 1, 2013
ff80e69
binutils: Add gnu-config-native to DEPENDS
philb Nov 12, 2013
75cf26a
libnl: Fix random segfaults due to memory corruption
kraj Nov 12, 2013
fbf836f
linux-yocto/3.10: MinnowBoard support
Oct 17, 2013
844cf62
linux-yocto-3.10: bump to 3.10.17 and -rt11
Nov 4, 2013
2b62f03
linux-yocto/3.10: haswell-wc and crystalforest support
Nov 4, 2013
f28814e
linux-yocto/3.8: add crystalforest bsp legacy block drivers configura…
Nov 4, 2013
64e1d78
linux-yocto/3.10: common-pc: add missing dependencies for BRCMSMAC
Nov 4, 2013
e546f17
linux-yocto/3.10: fix qemuarm boot and spurious mips build warning
Nov 5, 2013
0ebd48b
linux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard
Nov 14, 2013
58b59bd
linux-yocto-rt/3.10: fix ntp merge issue
Nov 14, 2013
4ab99be
linux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard
Nov 13, 2013
50574e4
lttng-modules: Update to 2.3.3 version
otavio Nov 14, 2013
fbe8b3c
sysvinit: unmount the psplash lazyily
Nov 15, 2013
a8008ea
boost: Add patch to avoid undefined references to boost::atomic::lock…
philb Nov 14, 2013
8072e07
perl: perl-ptest.inc polutes package dependencies when ptest not enabled
jchonig Nov 13, 2013
5b616aa
buildhistory_analysis: fix error when comparing image contents
bluelightning Nov 17, 2013
e5d7ea2
mdadm: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64
b40290 Nov 12, 2013
e830ecd
flex: fix m4 issue on target
Nov 6, 2013
baa8ca3
grub: add xz RDEPENDS
Nov 13, 2013
f7d46fe
udev: remove extra -dev/-dbg packages
Nov 14, 2013
b4481bb
initscripts: add missing dmesg.sh to run-level S
hasse69 Nov 15, 2013
b416808
kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux
Nov 13, 2013
139920d
image_types: newer btrfs.mkfs needs an empty file to build the disk in
Nov 15, 2013
3656f81
license.bbclass: fix missing of license files on ubuntu build host
ChenQi1989 Nov 18, 2013
0ed76a4
sysvinit: use ALTERNATIVE to manage sulogin
ChenQi1989 Nov 15, 2013
6fe4b4d
ethtool: Fix ptest compile
rpurdie Nov 22, 2013
532660d
base.bbclass: Fix incorrect setting of multilib PREFERRED_PROVIDER_vi…
Nov 21, 2013
d42a2c3
gst-ffmpeg: fix CVE-2013-3674
Nov 21, 2013
25e21e3
package_rpm.bbclass: Replace -linux-gnun32 with -linux.* in RPM platf…
Nov 21, 2013
f0323bb
rootfs_*.bbclass: List which post-install scripts can not be run
Nov 21, 2013
e8dbbef
util-linux: Package readprofile into it's own package
Nov 21, 2013
d8c8742
syslinux: use cross toolchain to compile
Nov 21, 2013
e8aa4b5
image-mklibs: ensure sysroot is correctly set when calling gcc
ndechesne Nov 22, 2013
84087e9
qt4-x11-free: depend on ICU
rossburton Nov 29, 2013
8cccf5f
libtiff: fix CVE-2013-1960
Nov 21, 2013
0a21008
nfs-utils: explicitly rdepend on bash
ChenQi1989 Nov 21, 2013
3932287
libtiff: CVE-2013-4232
shangbaogen Oct 21, 2013
5f0074f
libtiff: CVE-2013-4243
shangbaogen Oct 21, 2013
a9b6e16
qt4: fixed dependency on icu
ensc Dec 4, 2013
a49258a
build-appliance-image: Update to dora head revision
rpurdie Dec 12, 2013
944b153
gdb-7.6: fix cygwin check in configure script
sledz Nov 28, 2013
849d440
package-regex: Tweak python-docutils so it works correctly
Oct 16, 2013
a410a0a
meta-yocto-bsp: update SRCREVs for 3.10.17 and beagleboard fixes
Nov 14, 2013
37e9b19
yocto-bsp: Add missing format specifier in bblayers error message
bjauny Nov 13, 2013
f20ec6b
wpa-supplicant: enable CONFIG_CTRL_IFACE_DBUS_NEW
sakoman Nov 8, 2013
7a0033c
build-appliance-image: Update to dora head revision
rpurdie Dec 13, 2013
6f654f1
ref-manual: Edits to GTKIMMODULES_PACKAGES variable.
Dec 11, 2013
6128236
ref-manual: Minor edits to rootfs* class.
Dec 11, 2013
dd3ddc6
ref-manual: Edits to setuptools class.
Dec 11, 2013
e66cff1
ref-manual: Edits to gnomebase class.
Dec 11, 2013
ce2dbff
ref-manual: Edit to SDK_DEPLOY removing "temporary" from directory.
Dec 11, 2013
7cea11f
ref-manual: Removed "work" from the SDK_DEPLOY directory.
Dec 11, 2013
cf1a1b9
ref-manual: Added module and module-base classes.
Dec 11, 2013
9c371cf
ref-manual: Reverted a patch that had added sdk-pms
nysan Dec 12, 2013
8477e77
ref-manual: Fixed the reference to the script for icecc class.
Dec 12, 2013
785b7e3
poky.conf: Flip distro to 1.5.1
yoctopidge Dec 13, 2013
8e410e9
build-appliance-image: Update to dora head revision
rpurdie Dec 13, 2013
43f768e
Initial empty repository
Mar 19, 2014
484fd24
Merge tag 'dora-10.0.1.final'
Mar 19, 2014
9316c43
kernel-yocto: Disable ANSI escape codes from git branch
Mar 6, 2014
925008b
ovmf: Add a new ovmf recipe
Jan 14, 2014
1add5ae
kexec: Add a new recipe for kexec
Jan 14, 2014
b163a51
linux-yocto: Add a new EFI kernel
Jan 14, 2014
71a2c8e
A new distribution for testing UEFI platforms
Jan 14, 2014
b4973f8
kexec: Add a new recipe for kexec
ricardon Feb 5, 2014
c2b96f2
linux-yocto-efi-test: Switch to 'stable' branch
Feb 20, 2014
02e0a86
conf: Give our distro layer precedence
Feb 20, 2014
adebd1d
ovmf: Use the official upstream git repository
Feb 20, 2014
51d963b
ovmf: Fix native metadata
Feb 20, 2014
4cee0cd
qemu: Extend qemu dependencies with .bbappend
Feb 20, 2014
24e0869
ovmf: Reduce compiler optimization level
Feb 20, 2014
1801561
ovmf: Build OVMF with native tools
Feb 20, 2014
a600792
ovmf: Avoid hardcoding the path to OVMF.fd
Feb 20, 2014
131d38a
conf: Correct precedence to the uefi validation layer
ricardon Feb 25, 2014
eac6a98
qemu: utilize qemu version 1.5.0
ricardon Feb 25, 2014
61f86d1
conf: Define TCLIBCAPPEND
ricardon Feb 25, 2014
3c8e40e
conf: Set LAYER_CONF_VERSION
ricardon Feb 25, 2014
dea8795
Add support for fwts for dora
saurabhtangri Mar 14, 2014
4c592a5
runqemu: Add option for custom BIOS directory
ricardon Feb 27, 2014
d182cce
initscripts: Add Test Manager
Mar 6, 2014
4be6816
sysvinit: Override do_install() and skip bootlogd
Mar 6, 2014
6947757
luv-test.bbclass: Class for running test programs
Mar 20, 2014
92836df
fwts: Inherit luv-test for automatic execution
Mar 21, 2014
41fc0ca
linux-yocto-efi-test: Provide default kernel config
Mar 27, 2014
7ac9108
luv-test: Provide a default log parser
Mar 24, 2014
c36d0f9
fwts: Add log parser
Mar 24, 2014
e1787c8
fwts: Bump to version V14.03.01
Mar 29, 2014
6d99340
linux-yocto-efi-test: Enable kernel debugging options
Apr 3, 2014
d02c11c
fwts: Build and install kernel module for UEFI tests
Apr 3, 2014
2df55c3
fwts: Add module patches to avoid kernel crashes
Apr 3, 2014
d1cb749
linux-yocto-efi-test: Add support for RAM block device
ricardon Apr 2, 2014
8f9dabf
Add a recipe to construct an initramfs
ricardon Apr 2, 2014
d9b5434
sysvinit: Create a symbolic link for /sbin/init
ricardon Apr 2, 2014
1f6fc52
runqemu-internal: Re-enable qemu graphic output
ricardon Apr 2, 2014
d604aab
fwts: Fix kernel module build
Apr 16, 2014
849b73f
core-image-efi: Remove busybox from images
Apr 23, 2014
661d066
meta-luv: Rename distro to "luv"
Apr 24, 2014
912b161
meta-luv: Update README
Apr 24, 2014
1590c7b
ovmf: Use explicit SRCREV and fix uuid/uuid.h dependency
Apr 25, 2014
668e10b
README: Explain the reason we forked Poky
Apr 25, 2014
0161c77
efivarfs: Add support to run the kernel efivarfs tests
rakeshsv Apr 9, 2014
f4e915f
core-image-efi-initramfs: Include the efivarfs-test package
rakeshsv Apr 9, 2014
bf47e32
efivarfs: Ensure we build using target compiler
May 1, 2014
d8bdd85
base-files: Customize fstab
May 1, 2014
c9ae8b4
efivarfs: Enable automatic test execution
May 1, 2014
cbef93f
luv-live-image: A new live image for luv
Apr 28, 2014
ed1d75f
fwts: Add virtual/kernel to DEPENDS
May 8, 2014
8051ff5
Security Advisory - openssl - CVE-2013-4353
Taoyuetao Apr 8, 2014
9258350
Security Advisory - openssl - CVE-2013-6450
Taoyuetao Apr 8, 2014
c4763a3
Security Advisory - openssl - CVE-2013-6449
Taoyuetao Apr 8, 2014
a3164e5
openssl: backport fix for CVE-2014-0160
bluelightning Apr 8, 2014
a846082
openssl: bump PR
bluelightning Apr 11, 2014
53c6de4
meta-luv: Fill out mailing list address
May 8, 2014
8b05791
fwts: Enable batch mode tests
May 9, 2014
685ffdf
luv-test-manager: Display pass, fail and skip count
May 9, 2014
3e22684
psplash: Enable support for framebuffer splash screen
May 9, 2014
303e364
core-image-efi-initramfs: Enable psplash
May 3, 2014
6d30ba9
linux-yocto-efi-test: Enable all USB HCDs
May 10, 2014
817ad17
luv-test-manager: Save individual test suite results
May 10, 2014
bf99b31
luv-live-image: Reduce grub timeout and add quiet kernel parameter
May 12, 2014
2caec5c
Enable support for VESA framebuffer
May 12, 2014
4461f09
luv-test-manager: Add kernel parameter to disable luv tests
May 12, 2014
63a4f05
luv-live-image: Create second partition for test results
ricardon May 30, 2014
47a36df
luv-test-manager: Save results to non-volatile media
ricardon May 30, 2014
20c7a63
recipes-bsp: add gnu-efi recipe
Mar 9, 2014
5ad3706
recipes-bsp: Add gummiboot recipe
Feb 21, 2014
ac3f87c
bootimg/grub-efi.bbclass: allow using a different class for EFI images
Mar 6, 2014
d831cca
classes: Add gummiboot class
Mar 6, 2014
fe5c357
recipes-bsp: Add efilinux recipe
May 7, 2014
10fdd62
iasl: New recipe for ACPICA toolchain
May 27, 2014
d01f743
ovmf: Add iasl as a native dependency
May 27, 2014
5975948
generate-manifest-2.7.py: Add importlib
Jun 4, 2014
0330701
chipsec: Add recipe for CHIPSEC v1.1.0
May 29, 2014
95ebdab
chipsec: Enable luv test automatic execution
Jun 4, 2014
69acda4
luv-test: Add auto-generated test files to FILES_${PN}
Jun 4, 2014
fcdb6a8
core-image-efi-initramfs: Add chipsec test
Jun 4, 2014
dc0b955
bootimg.bbclass: Add parameter to specify HDDIMG volume ID
ricardon Jun 4, 2014
dba2b75
luv-live-image: Set the volume-id for the boot vfat partition
ricardon Jun 4, 2014
b29ec23
luv-live-image: Append kernel parameter for handling crashes
ricardon Jun 5, 2014
633e087
linux-yocto-efi-test: Enable kernel debug info
ricardon Jun 6, 2014
311e78c
initscritpts: Add a crash handler
ricardon Jun 6, 2014
af66ed3
Revert "core-image-efi-initramfs: Add chipsec test"
Jun 7, 2014
ee3e131
recipes-bsp: Add biosbits recipe
rakeshsv Jul 1, 2014
ce0a5fb
kexec-tools: Remove unneeded patches
ricardon Jul 12, 2014
d19c37c
kexec-tools: Update to 2.0.7
ricardon Jul 12, 2014
4b3f521
kexec-tools: Create separate package for vmcore-dmesg
ricardon Jul 12, 2014
bd813c3
core-image-efi-initramfs: Explicitly install kexec and vmcore-dmesg
ricardon Jun 23, 2014
f402f47
luv-test-manager: Remove waiting time for removable media
ricardon Jun 23, 2014
aa0e5c2
luv-crash-handler: Save dmesg buffer to non-volatile media
ricardon Jun 24, 2014
0ea7800
ovmf: Explicitly enforce toolchain variables
Jun 17, 2014
9fd5abe
ovmf: Pass gcc version to build.sh
Jun 27, 2014
f147459
qemu: Use non-native package of ovmf
Jun 27, 2014
876c9eb
grub: Enable efinet and tftp module for PXE boot
Jul 9, 2014
956b782
grub: Modified efinet.c and tftp.c files to fix netbooting issues on …
Jul 9, 2014
1745992
runqemu: Search in $MACHINE sysroot for bios
Jul 16, 2014
7987109
runqemu: don't use qemu -vga vmware when using OVMF BIOS
Jul 30, 2014
3256099
meta-luv: ovmf: only permit x86 and x86_64 target architectures for OVMF
Jul 30, 2014
670d2f1
meta-luv: ovmf: generate 32-bit firmware images when appropriate
Jul 30, 2014
dac9919
meta-luv: ovmf: bump SVN revision for OVMF to 15699
Jul 31, 2014
c2268a9
fwts: Copied the structure from userland locally in kernel space
Aug 15, 2014
c3bc00e
linux-yocto-efi-test: Update defconfig for v3.15
Aug 20, 2014
69f835c
linux-yocto-efi-test: Enable CONFIG_EFI_BOOT_SERVICES_WARN
Aug 20, 2014
48acddd
kernel-efi-warnings: Introduce a tool to analyze EFI kernel logs
ricardon Aug 20, 2014
78b7391
kernel-efi-warnings: Add a luv-parser
ricardon Aug 20, 2014
49b26da
kernel-efi-warnings: Add a bitbake recipe
ricardon Aug 20, 2014
b2dad41
core-image-efi-initramfs: Select kernel-efi-warnings
ricardon Aug 20, 2014
a3cf007
grub-efi-native: Enable graphics and chainloader modules
Aug 14, 2014
4ef4395
bits: Install tests and parser
Aug 14, 2014
cf3a438
bits: Add header to config file
Aug 14, 2014
792bb27
bits: Return control to bootloader on completion
Aug 14, 2014
f96dbc5
bits: Update checksums for bits-1084
Sep 18, 2014
90eba07
bits: Do not direct output to the screen
Sep 18, 2014
f6a3847
luv-live-image: Add bits as a dependency
Aug 14, 2014
5bee039
luv-live-image: Include boot loader splash screen
Sep 25, 2014
72b1e80
luv-efi.bbclass: A new class for installing boot files
Sep 25, 2014
60ef57a
gnu-efi: Add native support
Sep 5, 2014
23857c6
recipes-devtools: Add sbsigntool recipe
Jun 30, 2014
24d6aba
sbsigntool: Add missing patch to disable man pages generation
ricardon Sep 26, 2014
fae89be
luv-test-manager: Be more verbose on what do when tests are complete
ricardon Sep 26, 2014
4b706bb
bits: use PV variable in configure path
ricardon Oct 7, 2014
f66fce5
bits: update to 1090
ricardon Oct 7, 2014
beeda9c
fwts: Backport upstream microcode test fix
Oct 6, 2014
64f5799
fwts: Backport securebootcert fix from upstream
Oct 6, 2014
3379256
fwts: Fix uefirttime failure due to using get_user() on kernel pointer
Oct 6, 2014
c464aef
luv: Disable early boot graphics
Oct 7, 2014
86639fb
luv-live-image: Enable kernel boot messages on serial console
Oct 17, 2014
c30a790
luv-test-manager: Write test results directly to console
Oct 17, 2014
72d7be7
luv: Manually flush stdout from gawk
Oct 17, 2014
13a376b
luv-test-manager: show luv release version in luv.results
ricardon Oct 22, 2014
a72446b
luv: Update the version number to 1.1
ricardon Oct 22, 2014
a0e69fc
luv-live-image: Make luv-results the first partition
Nov 3, 2014
2f9b512
luv-live-image: Pick fat32 fstype when creating partitions
Nov 6, 2014
ca11c83
luv: update version to 1.2-rc1
ricardon Nov 10, 2014
417d543
luv-live-image: Mark boot partition as EFI System Partition (ESP)
Nov 10, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Linux UEFI Validation Distribution
==================================

This is a fork of Poky that also includes the meta-luv layer which is
the layer containing all recipes for the Linux UEFI Validation (luv)
distribution. The intention of this fork is to make it simple to build
the luv distribution by integrating everything into a single git
repository.

See meta-luv/README for more details on the luv distribution.

Poky
====

Expand Down
2 changes: 1 addition & 1 deletion bitbake/lib/bb/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def exec_func_shell(func, d, runfile, cwd=None):
if bb.msg.loggerVerboseLogs:
script.write("set -x\n")
if cwd:
script.write("cd %s\n" % cwd)
script.write("cd '%s'\n" % cwd)
script.write("%s\n" % func)
script.write('''
# cleanup
Expand Down
2 changes: 2 additions & 0 deletions bitbake/lib/bb/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def runCommand(self, commandline, ro_only = False):

def runAsyncCommand(self):
try:
if self.cooker.state == bb.cooker.state.error:
return False
if self.currentAsyncCommand is not None:
(command, options) = self.currentAsyncCommand
commandmethod = getattr(CommandsAsync, command)
Expand Down
3 changes: 2 additions & 1 deletion bitbake/lib/bb/cooker.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class CollectionError(bb.BBHandledException):
"""

class state:
initial, parsing, running, shutdown, forceshutdown, stopped = range(6)
initial, parsing, running, shutdown, forceshutdown, stopped, error = range(7)


class SkippedPackage:
Expand Down Expand Up @@ -1321,6 +1321,7 @@ def pre_serve(self):
self.prhost = prserv.serv.auto_start(self.data)
except prserv.serv.PRServiceConfigError:
bb.event.fire(CookerExit(), self.event_data)
self.state = state.error
return

def post_serve(self):
Expand Down
4 changes: 4 additions & 0 deletions bitbake/lib/bb/fetch2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,10 @@ def try_mirror_url(newuri, origud, ud, ld, check = False):
dest = os.path.join(dldir, os.path.basename(ud.localpath))
if not os.path.exists(dest):
os.symlink(ud.localpath, dest)
if not os.path.exists(origud.donestamp) or origud.method.need_update(origud.url, origud, ld):
origud.method.download(origud.url, origud, ld)
if hasattr(ud.method,"build_mirror_data"):
origud.method.build_mirror_data(origud.url, origud, ld)
return None
# Otherwise the result is a local file:// and we symlink to it
if not os.path.exists(origud.localpath):
Expand Down
10 changes: 8 additions & 2 deletions bitbake/lib/bb/fetch2/hg.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ def _buildhgcommand(self, ud, d, command):
if not ud.user:
hgroot = host + ud.path
else:
hgroot = ud.user + "@" + host + ud.path
if ud.pswd:
hgroot = ud.user + ":" + ud.pswd + "@" + host + ud.path
else:
hgroot = ud.user + "@" + host + ud.path

if command == "info":
return "%s identify -i %s://%s/%s" % (basecmd, proto, hgroot, ud.module)
Expand All @@ -112,7 +115,10 @@ def _buildhgcommand(self, ud, d, command):
# do not pass options list; limiting pull to rev causes the local
# repo not to contain it and immediately following "update" command
# will crash
cmd = "%s pull" % (basecmd)
if ud.user and ud.pswd:
cmd = "%s --config auth.default.prefix=* --config auth.default.username=%s --config auth.default.password=%s --config \"auth.default.schemes=%s\" pull" % (basecmd, ud.user, ud.pswd, proto)
else:
cmd = "%s pull" % (basecmd)
elif command == "update":
cmd = "%s update -C %s" % (basecmd, " ".join(options))
else:
Expand Down
2 changes: 1 addition & 1 deletion bitbake/lib/bb/fetch2/perforce.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def urldata_init(self, ud, d):
base = path
which = path.find('/...')
if which != -1:
base = path[:which]
base = path[:which-1]

base = self._strip_leading_slashes(base)

Expand Down
14 changes: 8 additions & 6 deletions bitbake/lib/bb/fetch2/svn.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import sys
import logging
import bb
import re
from bb import data
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
Expand Down Expand Up @@ -91,6 +92,8 @@ def _buildsvncommand(self, ud, d, command):

if command == "info":
svncmd = "%s info %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
elif command == "log1":
svncmd = "%s log --limit 1 %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
else:
suffix = ""
if ud.revision:
Expand Down Expand Up @@ -167,14 +170,13 @@ def _latest_revision(self, url, ud, d, name):
"""
Return the latest upstream revision number
"""
bb.fetch2.check_network_access(d, self._buildsvncommand(ud, d, "info"))
bb.fetch2.check_network_access(d, self._buildsvncommand(ud, d, "log1"))

output = runfetchcmd("LANG=C LC_ALL=C " + self._buildsvncommand(ud, d, "info"), d, True)
output = runfetchcmd("LANG=C LC_ALL=C " + self._buildsvncommand(ud, d, "log1"), d, True)

revision = None
for line in output.splitlines():
if "Last Changed Rev" in line:
revision = line.split(":")[1].strip()
# skip the first line, as per output of svn log
# then we expect the revision on the 2nd line
revision = re.search('^r([0-9]*)', output.splitlines()[1]).group(1)

return revision

Expand Down
2 changes: 1 addition & 1 deletion bitbake/lib/bb/monitordisk.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def check(self, rq):
# zero, this is a feature of the fs, we disable the inode
# checking for such a fs.
if st.f_files == 0:
logger.warn("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
logger.info("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
self.devDict[k][2] = None
continue
# Always show warning, the self.checked would always be False if the action is WARN
Expand Down
21 changes: 19 additions & 2 deletions bitbake/lib/bb/runqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,8 @@ def __init__(self, rq):

self.stampcache = {}

initial_covered = self.rq.scenequeue_covered.copy()

# Mark initial buildable tasks
for task in xrange(self.stats.total):
self.runq_running.append(0)
Expand Down Expand Up @@ -1257,13 +1259,28 @@ def __init__(self, rq):
except TypeError:
covered_remove = bb.utils.better_eval(call2, locs)

for task in covered_remove:
def removecoveredtask(task):
fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]]
taskname = self.rqdata.runq_task[task] + '_setscene'
bb.build.del_stamp(taskname, self.rqdata.dataCache, fn)
logger.debug(1, 'Not skipping task %s due to setsceneverify', task)
self.rq.scenequeue_covered.remove(task)

toremove = covered_remove
for task in toremove:
logger.debug(1, 'Not skipping task %s due to setsceneverify', task)
while toremove:
covered_remove = []
for task in toremove:
removecoveredtask(task)
for deptask in self.rqdata.runq_depends[task]:
if deptask not in self.rq.scenequeue_covered:
continue
if deptask in toremove or deptask in covered_remove or deptask in initial_covered:
continue
logger.debug(1, 'Task %s depends on task %s so not skipping' % (task, deptask))
covered_remove.append(deptask)
toremove = covered_remove

logger.debug(1, 'Full skip list %s', self.rq.scenequeue_covered)

event.fire(bb.event.StampUpdate(self.rqdata.target_pairs, self.rqdata.dataCache.stamp), self.cfgData)
Expand Down
29 changes: 19 additions & 10 deletions documentation/adt-manual/adt-command.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,32 @@
<para>
Recall that earlier the manual discussed how to use an existing toolchain
tarball that had been installed into the default installation
directory, <filename>/opt/poky</filename>, which is outside of the
directory, <filename>/opt/poky/&DISTRO;</filename>, which is outside of the
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>
(see the section "<link linkend='using-an-existing-toolchain-tarball'>Using a Cross-Toolchain Tarball)</link>".
And, that sourcing your architecture-specific environment setup script
initializes a suitable cross-toolchain development environment.
During the setup, locations for the compiler, QEMU scripts, QEMU binary,
</para>

<para>
During this setup, locations for the compiler, QEMU scripts, QEMU binary,
a special version of <filename>pkgconfig</filename> and other useful
utilities are added to the <filename>PATH</filename> variable.
Variables to assist <filename>pkgconfig</filename> and <filename>autotools</filename>
are also defined so that,
for example, <filename>configure.sh</filename> can find pre-generated
test results for tests that need target hardware on which to run.
These conditions allow you to easily use the toolchain outside of the
OpenEmbedded build environment on both autotools-based projects and
Makefile-based projects.
Also, variables to assist
<filename>pkgconfig</filename> and <filename>autotools</filename>
are also defined so that, for example, <filename>configure.sh</filename>
can find pre-generated test results for tests that need target hardware
on which to run.
</para>

<para>
Collectively, these conditions allow you to easily use the toolchain
outside of the OpenEmbedded build environment on both autotools-based
projects and Makefile-based projects.
This chapter provides information for both these types of projects.
</para>


<section id='autotools-based-projects'>
<title>Autotools-Based Projects</title>

Expand Down Expand Up @@ -179,7 +188,7 @@
If <filename>configure</filename> script results in problems recognizing the
<filename>--with-libtool-sysroot=&lt;sysroot-dir&gt;</filename> option,
regenerate the script to enable the support by doing the following and then
re-running the script:
run the script again:
<literallayout class='monospaced'>
$ libtoolize --automake
$ aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal \
Expand Down
9 changes: 4 additions & 5 deletions documentation/adt-manual/adt-intro.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
and an introduction to the <trademark class='trade'>Eclipse</trademark> IDE
Yocto Plug-in.
<note>
The ADT is distribution-neutral and does not require the Yocto
Project reference distribution, which is called Poky.
The ADT is distribution-neutral and does not require the Yocto
Project reference distribution, which is called Poky.
This manual, however, uses examples that use the Poky distribution.
</note>
</para>
Expand All @@ -43,7 +43,7 @@
<itemizedlist>
<listitem><para>An architecture-specific cross-toolchain and matching
sysroot both built by the OpenEmbedded build system.
The toolchain and sysroot are based on a
The toolchain and sysroot are based on a
<ulink url='&YOCTO_DOCS_DEV_URL;#metadata'>Metadata</ulink>
configuration and extensions,
which allows you to cross-develop on the host machine for the target hardware.
Expand Down Expand Up @@ -149,8 +149,7 @@
that causes skips in audio,
stutters in your desktop experience, or situations that overload your server
even when you have plenty of CPU power left.
You can find out more about LatencyTOP at
<ulink url='https://latencytop.org/'></ulink>.</para></listitem>
</para></listitem>
<listitem><para><emphasis>PowerTOP:</emphasis> Helps you determine what
software is using the most power.
You can find out more about PowerTOP at
Expand Down
14 changes: 9 additions & 5 deletions documentation/adt-manual/adt-manual.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
<date>October 2013</date>
<revremark>Released with the Yocto Project 1.5 Release.</revremark>
</revision>
<revision>
<revnumber>1.5.1</revnumber>
<date>Sometime in 2013</date>
<revremark>Released with the Yocto Project 1.5.1 Release.</revremark>
</revision>
</revhistory>

<copyright>
Expand All @@ -79,11 +84,10 @@
the terms of the <ulink type="http" url="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons Attribution-Share Alike 2.0 UK: England &amp; Wales</ulink> as published by Creative Commons.
</para>
<note>
Due to production processes, there could be differences between the Yocto Project
documentation bundled in the release tarball and the
<ulink url='&YOCTO_DOCS_ADT_URL;'>Yocto Project Application Developer's Guide</ulink> on
the <ulink url='&YOCTO_HOME_URL;'>Yocto Project</ulink> website.
For the latest version of this manual, see the manual on the website.
For the latest version of this manual associated with this
Yocto Project release, see the
<ulink url='&YOCTO_DOCS_ADT_URL;'>Yocto Project Application Developer's Guide</ulink>
from the Yocto Project website.
</note>

</legalnotice>
Expand Down
Loading